count.cpp
Go to the documentation of this file.
Exception: Arguments are of different size
Definition exception.hpp:73
Propagator for counting views (equal integer to number of equal views)
Definition count.hh:172
static ExecStatus post(Home home, ViewArray< VX > &x, VY y, int c)
Post propagator for .
Definition int-eq.hpp:43
Propagator for counting views (equal to number of equal views)
Definition count.hh:309
Propagator for counting views (greater or equal integer to number of equal views)
Definition count.hh:202
static ExecStatus post(Home home, ViewArray< VX > &x, VY y, int c)
Post propagator for .
Definition int-gq.hpp:43
Propagator for counting views (greater or equal to number of equal views)
Definition count.hh:379
Propagator for counting views (less or equal integer to number of equal views)
Definition count.hh:232
static ExecStatus post(Home home, ViewArray< VX > &x, VY y, int c)
Post propagator for .
Definition int-lq.hpp:43
Propagator for counting views (less or equal to number of equal views)
Definition count.hh:344
Exception: Unknown relation passed as argument
Definition exception.hpp:87
#define GECODE_ES_FAIL(es)
Check whether execution status es is failed, and fail space home.
Definition macros.hpp:103
#define GECODE_ME_FAIL(me)
Check whether modification event me is failed, and fail space home.
Definition macros.hpp:77
void check(int n, const char *l)
Check whether n is in range, otherwise throw out of limits with information l.
Definition limits.hpp:46
Gecode toplevel namespace
void count(Home home, const IntVarArgs &x, int n, IntRelType irt, int m, IntPropLevel ipl=IPL_DEF)
Post propagator for .
Definition count.cpp:40
IntPropLevel vbd(IntPropLevel ipl)
Extract value, bounds, or domain propagation from propagation level.
Definition ipl.hpp:37
TFE post(PropagatorGroup g)
Only post functions (but not propagators) from g are considered.
Definition filter.cpp:138
