62 for (
int i=y.
size(); i--;)
83 for (
int i=y.
size(); i--;)
bool failed(void) const
Check whether corresponding space is failed.
void channelSorted(Home home, const IntVarArgs &x, SetVar y)
Post propagator for and .
Propagator for successors/predecessors channelling
void post(Home home, Term *t, int n, FloatRelType frt, FloatVal c)
Post propagator for linear constraint over floats.
void channel(Home home, FloatVar x0, IntVar x1)
Post propagator for channeling a float and an integer variable .
int size(void) const
Return size of array (number of elements)
Gecode::IntArgs i(4, 1, 2, 3, 4)
Passing integer variables.
Passing Boolean variables.
Propagator for the sorted channel constraint
Node * x
Pointer to corresponding Boolean expression node.
Propagator for channelling between set variable and its characteristic function
Gecode toplevel namespace
Propagator for channelling between variable-value-dual models
Home class for posting propagators
#define GECODE_ES_FAIL(es)
Check whether execution status es is failed, and fail space home.