int size(void) const
Return size of array (number of elements)
Home class for posting propagators
static ExecStatus post(Home home, ViewArray< SetView > x, unsigned int c)
Post propagator for and .
#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.
void check(int n, const char *l)
Check whether integer n is in range, otherwise throw overflow exception with information l.
Gecode toplevel namespace
void atmostOne(Home home, const SetVarArgs &xa, unsigned int c)
Post propagator for SetVar x