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

Method post

test/float/arithmetic.cpp:365–367  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

363 }
364 /// Post constraint on \a x
365 virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
366 Gecode::sqrt(home, x[0], x[0]);
367 }
368 };
369
370 /// %Test for pow constraint

Callers

nothing calls this directly

Calls 1

sqrtFunction · 0.50

Tested by

no test coverage detected