62 for (
int k=
x.size(); k--; ) {
unsigned int cardMax(void) const
Return maximum cardinality.
void check(int n, const char *l)
Check whether integer n is in range, otherwise throw overflow exception with information l...
unsigned int cardMin(void) const
Return minimum cardinality.
const unsigned int card
Maximum cardinality of an integer set.
Gecode::IntArgs i(4, 1, 2, 3, 4)
Reification specification.
LinIntExpr cardinality(const SetExpr &e)
Cardinality of set expression.
Post propagator for SetVar SetOpType SetVar SetRelType r
Set view for set variables
Post propagator for SetVar SetOpType SetVar y
void rel(Home home, FloatVar x0, FloatRelType frt, FloatVal n)
Propagates .
Post propagator for SetVar x
#define GECODE_ME_FAIL(me)
Check whether modification event me is failed, and fail space home.
Gecode toplevel namespace
#define GECODE_POST
Check for failure in a constraint post function.
Home class for posting propagators
#define GECODE_ES_FAIL(es)
Check whether execution status es is failed, and fail space home.
Propagator for cardinality