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

Method gq

gecode/int/view/scale.hpp:158–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157 template<class Val, class UnsVal>
158 forceinline ModEvent
159 ScaleView<Val,UnsVal>::gq(Space& home, Val n) {
160 return (n <= min()) ? ME_INT_NONE :
161 x.gq(home,ceil_div_xp(n,static_cast<Val>(a)));
162 }
163 template<class Val, class UnsVal>
164 forceinline ModEvent
165 ScaleView<Val,UnsVal>::gr(Space& home, Val n) {

Callers

nothing calls this directly

Calls 2

ceil_div_xpFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected