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

Method post

test/set/channel.cpp:204–208  ·  view source on GitHub ↗

Post constraint on \a x

Source from the content-addressed store, hash-verified

202 }
203 /// Post constraint on \a x
204 virtual void post(Space& home, SetVarArray& x, IntVarArray&) {
205 SetVarArgs x0(x.slice(0,1,_x0size));
206 SetVarArgs x1(x.slice(_x0size));
207 Gecode::channel(home, x0,x1);
208 }
209 };
210
211 ChannelSet _channelSet12("Channel::Set::1::2", d1, 2,2);

Callers

nothing calls this directly

Calls 2

channelFunction · 0.50
sliceMethod · 0.45

Tested by

no test coverage detected