38 #ifndef __GECODE_INT_MEMBER_HH__
39 #define __GECODE_INT_MEMBER_HH__
49 namespace Gecode {
namespace Int {
namespace Member {
93 template<
class View, ReifyMode rm>
Reified membership propagator.
ViewArray< View > x
Array of views.
virtual PropCost cost(const Space &, const ModEventDelta &med) const
Cost function.
Base-class for propagators.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
static ExecStatus post(Home home, ViewArray< View > &x, View y)
Post propagator for .
static ExecStatus post(Home home, ViewArray< View > &x, View y, BoolView b)
Post propagator for .
int p
Number of positive literals for node type.
static void add(Space &home, ValSet &vs, ViewArray< View > &x)
Add values of assigned views in x to value set va.
BoolView b
Boolean control variable.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
ModEventDelta med
A set of modification events (used during propagation)
ValSet vs
Value set storing the values of already assigned views.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Prop(Home home, ValSet &vs, ViewArray< View > &x, View y)
Constructor for posting.
virtual Propagator * copy(Space &home, bool share)
Copy propagator during cloning.
virtual Propagator * copy(Space &home, bool share)
Copy propagator during cloning.
Class for storing values of already assigned views.
Gecode toplevel namespace
int ModEventDelta
Modification event deltas.
ReProp(Home home, ValSet &vs, ViewArray< View > &x, View y, BoolView b)
Constructor for posting.
Home class for posting propagators
void eliminate(Space &home)
Eliminate views from x that are not equal to y or ar subsumed by vs.
Boolean view for Boolean variables.