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

Method lq

gecode/int/view/scale.hpp:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 */
143 template<class Val, class UnsVal>
144 forceinline ModEvent
145 ScaleView<Val,UnsVal>::lq(Space& home, Val n) {
146 return (n >= max()) ? ME_INT_NONE :
147 x.lq(home,floor_div_xp(n,static_cast<Val>(a)));
148 }
149
150 template<class Val, class UnsVal>
151 forceinline ModEvent

Callers

nothing calls this directly

Calls 2

floor_div_xpFunction · 0.85
maxFunction · 0.50

Tested by

no test coverage detected