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

Method propagate

gecode/float/transcendental/exp-log.hpp:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74 template<class A, class B>
75 ExecStatus
76 Exp<A,B>::propagate(Space& home, const ModEventDelta&) {
77 GECODE_ME_CHECK(x1.eq(home,exp(x0.domain())));
78 if (x1.max() == 0.0)
79 return ES_FAILED;
80 GECODE_ME_CHECK(x0.eq(home,log(x1.domain())));
81 return x0.assigned() ? home.ES_SUBSUMED(*this) : ES_FIX;
82 }
83
84
85 /*

Callers

nothing calls this directly

Calls 7

ES_SUBSUMEDMethod · 0.80
expFunction · 0.50
logFunction · 0.50
eqMethod · 0.45
domainMethod · 0.45
maxMethod · 0.45
assignedMethod · 0.45

Tested by

no test coverage detected