40 namespace Gecode {
namespace Int {
namespace Element {
62 (void)
new (home)
Pair(home,x0,x1,x2,w);
int val(void) const
Return assigned value (only if assigned)
static ExecStatus post(Home home, IntView x0, IntView x1, IntView x2, int w, int h)
Post propagator .
ModEvent eq(Space &home, int n)
Restrict domain values to be equal to n.
static ExecStatus post(Home home, View0 x0, View1 x1)
Post domain consistent propagator .
Pair(Space &home, bool share, Pair &p)
Constructor for cloning p.
ModEvent le(Space &home, int n)
Restrict domain values to be less than n.
int p
Number of positive literals for node type.
const Gecode::PropCond PC_INT_DOM
Propagate when domain changes.
#define GECODE_ME_CHECK(me)
Check whether modification event me is failed, and forward failure.
Integer view for integer variables.
Domain consistent pair propagator.
bool assigned(void) const
Test whether view is assigned.
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
bool shared(const ConstView< ViewA > &, const ConstView< ViewB > &)
Test whether views share same variable.
Gecode toplevel namespace
Home class for posting propagators