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

Method post

test/int/arithmetic.cpp:481–483  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

479 }
480 /// Post constraint on \a x
481 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
482 Gecode::abs(home, x[0], x[1], ipl);
483 }
484 };
485
486 /// %Test for absolute value constraint with shared variables

Callers

nothing calls this directly

Calls 1

absFunction · 0.50

Tested by

no test coverage detected