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

Method post

test/int/bool.cpp:119–123  ·  view source on GitHub ↗

Post constraint

Source from the content-addressed store, hash-verified

117 }
118 /// Post constraint
119 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
120 using namespace Gecode;
121 BoolVar b = channel(home,x[0]);
122 rel(home, b, op, channel(home,x[1]), b);
123 }
124 };
125
126 /// %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