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

Method propagate

gecode/int/rel/eq.hpp:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83 template<class View0, class View1>
84 ExecStatus
85 EqVal<View0,View1>::propagate(Space& home, const ModEventDelta&) {
86 if (x0.assigned()) {
87 GECODE_ME_CHECK(x1.eq(home,x0.val()));
88 } else {
89 assert(x1.assigned());
90 GECODE_ME_CHECK(x0.eq(home,x1.val()));
91 }
92 return home.ES_SUBSUMED(*this);
93 }
94
95
96 /*

Callers

nothing calls this directly

Calls 15

rFunction · 0.85
rtest_eq_domFunction · 0.85
rtest_eq_bndFunction · 0.85
ES_SUBSUMEDMethod · 0.80
ES_FIX_PARTIALMethod · 0.80
sharedFunction · 0.50
postFunction · 0.50
assignedMethod · 0.45
eqMethod · 0.45
valMethod · 0.45
gqMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected