58 for (
int k=
x.size(); k--; ) {
Node * x
Pointer to corresponding Boolean expression node.
Home class for posting propagators
Reification specification.
Propagator for cardinality
Set view for set variables
Post propagator for SetVar SetOpType SetVar y
#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.
#define GECODE_ME_FAIL(me)
Check whether modification event me is failed, and fail space home.
void rel(Home home, FloatVar x0, FloatRelType frt, FloatVal n)
Propagates .
void check(int n, const char *l)
Check whether integer n is in range, otherwise throw overflow exception with information l.
const unsigned int card
Maximum cardinality of an integer set.
Gecode::IntArgs i({1, 2, 3, 4})
LinIntExpr cardinality(const SetExpr &e)
Cardinality of set expression.