int size(void) const
Return size of array (number of elements)
Home class for posting propagators
Exception: Too few arguments available in argument array
static ExecStatus post(Home home, ViewArray< SetView >, SetView)
Post propagator and .
static ExecStatus post(Home home, ViewArray< SetView >)
Post propagator .
#define GECODE_POST
Check for failure in a constraint post function.
#define GECODE_ES_FAIL(es)
Check whether execution status es is failed, and fail space home.
Gecode toplevel namespace
void sequence(Home home, const IntVarArgs &x, const IntSet &s, int q, int l, int u, IntPropLevel ipl=IPL_DEF)
Post propagator for .
Post propagator for SetVar SetOpType SetVar y
Post propagator for SetVar x