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

Method gr

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

Source from the content-addressed store, hash-verified

126 return n==1 ? x.zero(home) : (n <= 0 ? ME_BOOL_NONE : ME_BOOL_FAILED);
127 }
128 forceinline ModEvent
129 NegBoolView::gr(Space& home, int n) {
130 return n==0 ? x.zero(home) : (n >= 1 ? ME_BOOL_FAILED : ME_BOOL_NONE);
131 }
132 forceinline ModEvent
133 NegBoolView::gr(Space& home, long long int n) {
134 return n==0 ? x.zero(home) : (n >= 1 ? ME_BOOL_FAILED : ME_BOOL_NONE);

Callers

nothing calls this directly

Calls 1

zeroMethod · 0.45

Tested by

no test coverage detected