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

Method post

gecode/float/rel/nq.hpp:48–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47 template<class View0, class View1>
48 ExecStatus
49 Nq<View0,View1>::post(Home home, View0 x0, View1 x1){
50 if (x0.assigned() && x1.assigned()) {
51 if (overlap(x0.val(),x1.val()))
52 return ES_FAILED;
53 } else if (x0 == x1) {
54 return ES_FAILED;
55 } else {
56 (void) new (home) Nq<View0,View1>(home,x0,x1);
57 }
58 return ES_OK;
59 }
60
61 template<class View0, class View1>
62 forceinline

Callers

nothing calls this directly

Calls 3

overlapFunction · 0.50
assignedMethod · 0.45
valMethod · 0.45

Tested by

no test coverage detected