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

Method post

test/int/extensional.cpp:126–130  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

124 }
125 /// Post constraint on \a x
126 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
127 using namespace Gecode;
128 extensional(home, x,
129 *REG(0) + REG(1)(2,2) + +REG(0) + REG(1)(1,1) + *REG(0));
130 }
131 };
132
133 /// %Test with regular expression for distinct constraint

Callers

nothing calls this directly

Calls 1

extensionalFunction · 0.50

Tested by

no test coverage detected