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

Method post

test/int/mm-lin.cpp:165–171  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

163 }
164 /// Post constraint on \a x
165 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
166 using namespace Gecode;
167 Gecode::LinIntExpr reg[3] = {
168 x[0],x[1],channel(home,x[2])
169 };
170 rel(home, x[3], IRT_EQ, Gecode::expr(home, eval(lis,reg)));
171 }
172 };
173
174

Callers

nothing calls this directly

Calls 4

evalFunction · 0.70
channelFunction · 0.50
relFunction · 0.50
exprFunction · 0.50

Tested by

no test coverage detected