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

Method le

gecode/int/view/scale.hpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150 template<class Val, class UnsVal>
151 forceinline ModEvent
152 ScaleView<Val,UnsVal>::le(Space& home, Val n) {
153 return (n > max()) ? ME_INT_NONE :
154 x.le(home,floor_div_xp(n,static_cast<Val>(a)));
155 }
156
157 template<class Val, class UnsVal>
158 forceinline ModEvent

Callers

nothing calls this directly

Calls 2

floor_div_xpFunction · 0.85
maxFunction · 0.50

Tested by

no test coverage detected