element.cpp
Go to the documentation of this file.
FloatNum size(void) const
Return size of float value (distance between maximum and minimum).
Definition val.hpp:78
Exception: Arguments are of different size
Definition exception.hpp:73
static ExecStatus post(Home home, OffsetView x0, OffsetView x1, IntView x2, int w, int h)
Post propagator .
Definition pair.hpp:74
static ExecStatus post(Home home, IntView x0, IntView x1, IntView x2, int w, int h)
Post propagator .
Definition pair.hpp:43
Bounds consistent element propagator for array of views.
Definition element.hh:232
Domain consistent element propagator for array of views.
Definition element.hh:262
Exception: Too few arguments available in argument array
Definition exception.hpp:66
#define GECODE_ES_FAIL(es)
Check whether execution status es is failed, and fail space home.
Definition macros.hpp:103
ExecStatus post_int(Home home, IntSharedArray &c, V0 x0, V1 x1)
Post propagator with appropriate index and value types.
Definition int.hpp:405
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
SharedArray< int > IntSharedArray
Arrays of integers that can be shared among several element constraints.
Definition int.hh:1813
IntPropLevel vbd(IntPropLevel ipl)
Extract value, bounds, or domain propagation from propagation level.
Definition ipl.hpp:37
void element(Home home, IntSharedArray n, IntVar x0, IntVar x1, IntPropLevel ipl=IPL_DEF)
Post domain consistent propagator for .
Definition element.cpp:39
TFE post(PropagatorGroup g)
Only post functions (but not propagators) from g are considered.
Definition filter.cpp:138
