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

Method post

test/int/arithmetic.cpp:183–185  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

181 }
182 /// Post constraint on \a x
183 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
184 Gecode::sqr(home, x[0], x[0], ipl);
185 }
186 };
187
188 /// %Test for square root constraint

Callers

nothing calls this directly

Calls 1

sqrFunction · 0.50

Tested by

no test coverage detected