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

Method post

test/float/arithmetic.cpp:686–688  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

684 }
685 /// Post constraint on \a x
686 virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
687 Gecode::max(home, x[0], x[1], x[1]);
688 }
689 };
690
691 /// %Test for binary maximum constraint with shared variables

Callers

nothing calls this directly

Calls 1

maxFunction · 0.50

Tested by

no test coverage detected