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

Method gr

gecode/int/view/scale.hpp:164–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163 template<class Val, class UnsVal>
164 forceinline ModEvent
165 ScaleView<Val,UnsVal>::gr(Space& home, Val n) {
166 return (n < min()) ? ME_INT_NONE :
167 x.gr(home,ceil_div_xp(n,static_cast<Val>(a)));
168 }
169
170 template<class Val, class UnsVal>
171 forceinline ModEvent

Callers

nothing calls this directly

Calls 2

ceil_div_xpFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected