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

Method propagate

gecode/int/bool/clause.hpp:172–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171 template<class VX, class VY>
172 ExecStatus
173 ClauseTrue<VX,VY>::propagate(Space& home, const ModEventDelta&) {
174 if (x0.one() || x1.one())
175 return home.ES_SUBSUMED(*this);
176 GECODE_ES_CHECK(resubscribe(home,*this,x0,x,x1,y));
177 GECODE_ES_CHECK(resubscribe(home,*this,x1,y,x0,x));
178 return ES_FIX;
179 }
180
181
182 /*

Callers

nothing calls this directly

Calls 8

ES_SUBSUMEDMethod · 0.80
postFunction · 0.50
oneMethod · 0.45
zeroMethod · 0.45
sizeMethod · 0.45
disposeMethod · 0.45
zero_noneMethod · 0.45
one_noneMethod · 0.45

Tested by

no test coverage detected