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

Method post

test/set/rel.cpp:153–155  ·  view source on GitHub ↗

Post constraint on \a x and \a y

Source from the content-addressed store, hash-verified

151 }
152 /// Post constraint on \a x and \a y
153 void post(Space& home, SetVarArray& x, IntVarArray& y) {
154 Gecode::ite(home, Gecode::channel(home,y[0]), x[0], x[1], x[2]);
155 }
156 };
157
158 RelBin _relbin_eq(Gecode::SRT_EQ,false);

Callers

nothing calls this directly

Calls 2

iteFunction · 0.50
channelFunction · 0.50

Tested by

no test coverage detected