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

Method post

test/set/element.cpp:140–144  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

138 }
139 /// Post constraint on \a x
140 virtual void post(Space& home, SetVarArray& x, IntVarArray&) {
141 IntSetArgs xs(3);
142 xs[0] = i0; xs[1] = i1; xs[2] = i2;
143 Gecode::element(home, SOT_UNION, xs, x[0], x[1]);
144 }
145 };
146 ElementUnionConst _elementunionconst("Element::UnionConst");
147

Callers

nothing calls this directly

Calls 1

elementFunction · 0.50

Tested by

no test coverage detected