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

Method post

gecode/float/arithmetic/min-max.hpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66 template<class A, class B, class C>
67 ExecStatus
68 Min<A,B,C>::post(Home home, A x0, B x1, C x2) {
69 GECODE_ME_CHECK(x2.eq(home,min(x0.domain(),x1.domain())));
70 GECODE_ME_CHECK(x0.gq(home,x2.min()));
71 GECODE_ME_CHECK(x1.gq(home,x2.min()));
72 (void) new (home) Min<A,B,C>(home,x0,x1,x2);
73 return ES_OK;
74 }
75
76 template<class A, class B, class C>
77 ExecStatus

Callers

nothing calls this directly

Calls 12

minFunction · 0.50
maxFunction · 0.50
postFunction · 0.50
eqMethod · 0.45
domainMethod · 0.45
gqMethod · 0.45
minMethod · 0.45
lqMethod · 0.45
maxMethod · 0.45
sizeMethod · 0.45
uniqueMethod · 0.45
sameMethod · 0.45

Tested by

no test coverage detected