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

Method post

test/int/arithmetic.cpp:86–88  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

84 }
85 /// Post constraint on \a x
86 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
87 Gecode::mult(home, x[0], x[0], x[1], ipl);
88 }
89 };
90
91 /// %Test for multiplication constraint with shared variables

Callers

nothing calls this directly

Calls 1

multFunction · 0.50

Tested by

no test coverage detected