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

Method post

gecode/int/distinct/eqite.hpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48 inline ExecStatus
49 EqIte::post(Home home, IntView x0, IntView x1, int c0, int c1) {
50 assert(!(x0.assigned() && (x0.val() == c0)) && x0.in(c0));
51 GECODE_ME_CHECK(x1.lq(home,std::max(x0.max(),c1)));
52 GECODE_ME_CHECK(x1.gq(home,std::min(x0.min(),c1)));
53 (void) new (home) EqIte(home,x0,x1,c0,c1);
54 return ES_OK;
55 }
56
57}}}
58

Callers

nothing calls this directly

Calls 9

maxFunction · 0.50
minFunction · 0.50
assignedMethod · 0.45
valMethod · 0.45
inMethod · 0.45
lqMethod · 0.45
maxMethod · 0.45
gqMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected