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

Method post

test/int/order.cpp:65–68  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

63 }
64 /// Post constraint on \a x
65 virtual void post(Gecode::Space& home, Gecode::IntVarArray& x) {
66 using namespace Gecode;
67 order(home, x[0], p0, x[1], p1, channel(home, x[2]));
68 }
69 };
70 /// Help class to create and register tests
71 class Create {

Callers

nothing calls this directly

Calls 2

orderFunction · 0.85
channelFunction · 0.50

Tested by

no test coverage detected