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