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

Method post

test/int/extensional.cpp:66–73  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

64 }
65 /// Post constraint on \a x
66 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
67 using namespace Gecode;
68 extensional(home, x,
69 (REG(0) | REG(2)) +
70 (REG(-1) | REG(1)) +
71 (REG(7) | REG(0) | REG(1)) +
72 (REG(0) | REG(1)));
73 }
74 };
75
76 /// %Test with simple regular expression

Callers

nothing calls this directly

Calls 1

extensionalFunction · 0.50

Tested by

no test coverage detected