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

Method propagate

gecode/float/trigonometric/asinacos.hpp:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73 template<class A, class B>
74 ExecStatus
75 ASin<A,B>::propagate(Space& home, const ModEventDelta&) {
76 if ((x0.max() < -1) || (x0.min() > 1)) return ES_FAILED;
77 GECODE_ME_CHECK(x1.eq(home,asin(x0.domain())));
78 GECODE_ME_CHECK(x0.eq(home,sin(x1.domain())));
79 return (x0.assigned() || x1.assigned()) ? home.ES_SUBSUMED(*this) : ES_FIX;
80 }
81
82
83 /*

Callers

nothing calls this directly

Calls 10

ES_SUBSUMEDMethod · 0.80
asinFunction · 0.50
sinFunction · 0.50
acosFunction · 0.50
cosFunction · 0.50
maxMethod · 0.45
minMethod · 0.45
eqMethod · 0.45
domainMethod · 0.45
assignedMethod · 0.45

Tested by

no test coverage detected