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

Method post

test/set/element.cpp:333–337  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

331 }
332 /// Post constraint on \a x
333 virtual void post(Space& home, SetVarArray& x, IntVarArray& y) {
334 IntSetArgs xs(3);
335 xs[0] = i0; xs[1] = i1; xs[2] = i2;
336 Gecode::element(home, xs, y[0], x[0]);
337 }
338 };
339 ElementSetConst _elementsetconst("Element::SetConst");
340

Callers

nothing calls this directly

Calls 1

elementFunction · 0.50

Tested by

no test coverage detected