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

Method post

test/int/arithmetic.cpp:146–148  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

144 }
145 /// Post constraint on \a x
146 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
147 Gecode::mult(home, x[0], x[0], x[0], ipl);
148 }
149 };
150
151 /// %Test for squaring constraint

Callers

nothing calls this directly

Calls 1

multFunction · 0.50

Tested by

no test coverage detected