36namespace Gecode {
namespace Int {
namespace Member {
49 if (
x[i].assigned()) {
50 vs.
add(home,
x[i].val());
122 return sizeof(*this);
151 assert(
x.size() > 0);
155 for (
int i=1; i<
x.size(); i++) {
union Gecode::@603::NNF::@65 u
Union depending on nodetype t.
int p
Number of positive literals for node type.
int n
Number of negative literals for node type.
Home class for posting propagators
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual Propagator * copy(Space &home)
Copy propagator during cloning.
virtual PropCost cost(const Space &, const ModEventDelta &med) const
Cost function.
static void add(Space &home, ValSet &vs, ViewArray< View > &x)
Add values of assigned views in x to value set va.
Prop(Home home, ValSet &vs, ViewArray< View > &x, View y)
Constructor for posting.
ValSet vs
Value set storing the values of already assigned views.
void eliminate(Space &home)
Eliminate views from x that are not equal to y or ar subsumed by vs.
static ExecStatus post(Home home, ViewArray< View > &x, View y)
Post propagator for .
virtual size_t dispose(Space &home)
Delete propagator and return its size.
static ExecStatus post(Home home, View0 x0, View1 x1)
Post domain consistent propagator .
Class for storing values of already assigned views.
void update(Space &home, ValSet &vs)
Update value set during cloning.
void add(Space &home, int v)
Add value v to value set.
Range iterator for integer views.
Range iterator for union of iterators.
static PropCost linear(PropCost::Mod m, unsigned int n)
Linear complexity for modifier pcm and size measure n.
Base-class for propagators.
ExecStatus ES_SUBSUMED(Propagator &p)
int ModEventDelta
Modification event deltas.
#define GECODE_ME_CHECK(me)
Check whether modification event me is failed, and forward failure.
RelTest rtest_eq_dom(VX x, VY y)
Test whether views x and y are equal (use full domain information)
const Gecode::PropCond PC_INT_DOM
Propagate when domain changes.
const Gecode::ModEvent ME_INT_VAL
Domain operation has resulted in a value (assigned variable)
@ RT_FALSE
Relation does not hold.
Gecode toplevel namespace
Post propagator for SetVar SetOpType SetVar SetRelType r
Post propagator for SetVar SetOpType SetVar y
@ ES_OK
Execution is okay.
@ ES_FIX
Propagation has computed fixpoint.
@ ES_FAILED
Execution has resulted in failure.
Post propagator for SetVar x