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

Method post

test/float/arithmetic.cpp:109–111  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

107 }
108 /// Post constraint on \a x
109 virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
110 Gecode::mult(home, x[0], x[0], x[1]);
111 }
112 };
113
114 /// %Test for multiplication constraint with shared variables when solution is ensured

Callers

nothing calls this directly

Calls 1

multFunction · 0.50

Tested by

no test coverage detected