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

Method propagate

gecode/float/rel/nq.hpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72 template<class View0, class View1>
73 ExecStatus
74 Nq<View0,View1>::propagate(Space& home, const ModEventDelta&) {
75 if (x0.assigned() && x1.assigned()) {
76 return overlap(x0.val(),x1.val()) ? ES_FAILED : home.ES_SUBSUMED(*this);
77 }
78 return ES_FIX;
79 }
80
81 /*
82 * Disequality with float value

Callers

nothing calls this directly

Calls 4

ES_SUBSUMEDMethod · 0.80
overlapFunction · 0.50
assignedMethod · 0.45
valMethod · 0.45

Tested by

no test coverage detected