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

Method le

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

Source from the content-addressed store, hash-verified

110 return n==0 ? x.one(home) : (n < 0 ? ME_BOOL_FAILED : ME_BOOL_NONE);
111 }
112 forceinline ModEvent
113 NegBoolView::le(Space& home, int n) {
114 return n==1 ? x.one(home) : (n < 1 ? ME_BOOL_FAILED : ME_BOOL_NONE);
115 }
116 forceinline ModEvent
117 NegBoolView::le(Space& home, long long int n) {
118 return n==1 ? x.one(home) : (n < 1 ? ME_BOOL_FAILED : ME_BOOL_NONE);

Callers

nothing calls this directly

Calls 1

oneMethod · 0.45

Tested by

no test coverage detected