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

Method post

test/int/extensional.cpp:427–432  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

425 }
426 /// Post constraint on \a x
427 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
428 using namespace Gecode;
429 TupleSet ts = TupleSet(t.arity(),tupleset2dfa(t));
430 assert(t == ts);
431 extensional(home, x, t, pos, ipl);
432 }
433 /// Post reified constraint on \a x for \a r
434 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x,
435 Gecode::Reify r) {

Callers

nothing calls this directly

Calls 4

TupleSetClass · 0.85
tupleset2dfaFunction · 0.85
arityMethod · 0.80
extensionalFunction · 0.50

Tested by

no test coverage detected