MCPcopy Create free account
hub / github.com/Gecode/gecode / gq

Method gq

gecode/int/view/neg-bool.hpp:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 return n==1 ? x.one(home) : (n < 1 ? ME_BOOL_FAILED : ME_BOOL_NONE);
119 }
120 forceinline ModEvent
121 NegBoolView::gq(Space& home, int n) {
122 return n==1 ? x.zero(home) : (n <= 0 ? ME_BOOL_NONE : ME_BOOL_FAILED);
123 }
124 forceinline ModEvent
125 NegBoolView::gq(Space& home, long long int n) {
126 return n==1 ? x.zero(home) : (n <= 0 ? ME_BOOL_NONE : ME_BOOL_FAILED);

Callers

nothing calls this directly

Calls 1

zeroMethod · 0.45

Tested by

no test coverage detected