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

Method post

test/float/channel.cpp:59–64  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

57 }
58 /// Post constraint on \a x
59 virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) {
60 using namespace Gecode;
61 IntVar iv(home,-1000,1000);
62 channel(home, x[0], iv);
63 channel(home, iv, x[1]);
64 }
65 };
66
67 /// %Test channel between float and Boolean

Callers

nothing calls this directly

Calls 1

channelFunction · 0.50

Tested by

no test coverage detected