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

Function pos

gecode/int/arithmetic/mult.hpp:69–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 /// Test whether \a x is positive
68 template<class View>
69 forceinline bool
70 pos(const View& x) {
71 return x.min() > 0;
72 }
73 /// Test whether \a x is negative
74 template<class View>
75 forceinline bool

Callers 8

propagateMethod · 0.70
postMethod · 0.70
propagateMethod · 0.70
postMethod · 0.70
getMethod · 0.50
setMethod · 0.50
choiceMethod · 0.50

Calls 1

minMethod · 0.45

Tested by

no test coverage detected