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

Method post

test/int/bool.cpp:98–102  ·  view source on GitHub ↗

Post constraint

Source from the content-addressed store, hash-verified

96 }
97 /// Post constraint
98 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
99 using namespace Gecode;
100 BoolVar b = channel(home,x[0]);
101 rel(home, b, op, b, channel(home,x[1]));
102 }
103 };
104
105 /// %Test for binary Boolean operation with shared variables

Callers

nothing calls this directly

Calls 2

channelFunction · 0.50
relFunction · 0.50

Tested by

no test coverage detected