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

Method post

test/int/count.cpp:87–90  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

85 }
86 /// Post constraint on \a x
87 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
88 Gecode::IntSet s(-1,1);
89 Gecode::count(home, x, s, irt, 2);
90 }
91 };
92
93 /// %Test number of equal integers equal to integer with duplicate variables

Callers

nothing calls this directly

Calls 1

countFunction · 0.50

Tested by

no test coverage detected