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

Method post

gecode/int/arithmetic/divmod.hpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85 template<class VA, class VB, class VC>
86 forceinline ExecStatus
87 DivPlusBnd<VA,VB,VC>::post(Home home, VA x0, VB x1, VC x2) {
88 GECODE_ME_CHECK(x0.gr(home,0));
89 GECODE_ME_CHECK(x1.gr(home,0));
90 GECODE_ME_CHECK(x2.gq(home,floor_div_pp(x0.min(),x1.max())));
91 (void) new (home) DivPlusBnd<VA,VB,VC>(home,x0,x1,x2);
92 return ES_OK;
93 }
94
95
96 /*

Callers

nothing calls this directly

Calls 10

floor_div_ppFunction · 0.85
posFunction · 0.70
negFunction · 0.70
postFunction · 0.50
MinusViewClass · 0.50
grMethod · 0.45
gqMethod · 0.45
minMethod · 0.45
maxMethod · 0.45
nqMethod · 0.45

Tested by

no test coverage detected