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

Method post

test/int/extensional.cpp:472–479  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

470 }
471 /// Post constraint on \a x
472 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
473 using namespace Gecode;
474 if (toDFA) {
475 TupleSet t = TupleSet(ts.arity(),tupleset2dfa(ts));
476 assert(ts == t);
477 }
478 extensional(home, x, ts, pos, ipl);
479 }
480 /// Post reified constraint on \a x for \a r
481 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x,
482 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