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

Method max

gecode/int/var-imp/bool.hpp:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 return static_cast<int>(bits() & 1);
64 }
65 forceinline int
66 BoolVarImp::max(void) const {
67 return static_cast<int>((bits() & 2) >> 1);
68 }
69 forceinline int
70 BoolVarImp::med(void) const {
71 return min();

Callers 3

narrow_rMethod · 0.45
inter_rMethod · 0.45
minus_rMethod · 0.45

Calls 1

minMethod · 0.45

Tested by

no test coverage detected