44 #ifndef __GECODE_SET_REL_HH__ 45 #define __GECODE_SET_REL_HH__ 49 namespace Gecode {
namespace Set {
namespace Rel {
63 template<
class View0,
class View1>
89 template<
class View0,
class View1>
114 template<
class View0,
class View1,
class CtrlView, ReifyMode rm>
149 template<
class View0,
class View1>
173 template<
class View0,
class View1,
class CtrlView, ReifyMode rm>
207 template<
class View0,
class View1,
bool strict=false>
233 template<
class View0,
class View1, ReifyMode rm,
bool strict=false>
266 template<
class View0,
class View1>
295 template<
class View0>
Propagator for negated equality
virtual size_t dispose(Space &home)
Delete propagator and return its size.
static ExecStatus post(Home home, View0 x, View1 y, CtrlView b)
Post propagator for .
ReEq(Space &home, bool share, ReEq &)
Constructor for cloning p.
CtrlView b
Boolean control view.
View0 x0
View of type View0.
ReLq(Space &home, bool share, ReLq &p)
Constructor for cloning p.
Propagator for the subset constraint
virtual void reschedule(Space &home)
Schedule function.
static ExecStatus post(Home home, View0 x, View1 y, Gecode::Int::BoolView b)
Post propagator for .
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Base-class for propagators.
Propagator for set less than or equal
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual Actor * copy(Space &home, bool share)
Copy propagator during cloning.
View1 x1
View of type View1.
virtual void reschedule(Space &home)
Schedule function.
virtual Actor * copy(Space &home, bool share)
Copy propagator during cloning.
Base-class for both propagators and branchers.
NoSubset(Space &home, bool share, NoSubset &p)
Constructor for cloning p.
DistinctDoit(Space &home, bool share, DistinctDoit &)
Constructor for cloning p.
Distinct(Space &home, bool share, Distinct &p)
Constructor for cloning p.
static ExecStatus post(Home home, View0 x, View1 y)
Post propagator .
Reified equality propagator
static ExecStatus post(Home home, View0 x, View1 y)
Post propagator .
int p
Number of positive literals for node type.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function (defined as ternary low)
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
ModEventDelta med
A set of modification events (used during propagation)
Lq(Space &home, bool share, Lq &p)
Constructor for cloning p.
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function (defined as PC_TERNARY_LO)
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function (defined as PC_TERNARY_LO)
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Reified propagator for set less than or equal
ReSubset(Space &home, bool share, ReSubset &p)
Constructor for cloning p.
Post propagator for SetVar SetOpType SetVar y
Reified subset propagator
virtual size_t dispose(Space &home)
Delete propagator and return its size.
static ExecStatus post(Home home, View0 x, ConstSetView y)
Post propagator .
virtual Actor * copy(Space &home, bool share)
Copy propagator during cloning.
ConstSetView y
The view that is already assigned.
static ExecStatus post(Home home, View0 x, View1 y)
Post propagator .
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Propagator for set equality
Propagator for negated equality
Subset(Space &home, bool share, Subset &p)
Constructor for cloning p.
Post propagator for SetVar x
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Propagator for the negated subset constraint
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Gecode toplevel namespace
virtual Actor * copy(Space &home, bool share)
Copy propagator during cloning.
virtual Actor * copy(Space &home, bool share)
Copy propagator during cloning.
Eq(Space &home, bool share, Eq &p)
Constructor for cloning p.
static ExecStatus post(Home home, View0 x, View1 y, CtrlView b)
Post propagator for .
int ModEventDelta
Modification event deltas.
virtual void reschedule(Space &home)
Schedule function.
Home class for posting propagators
static ExecStatus post(Home home, View0 x, View1 y)
Post propagator .
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
static ExecStatus post(Home home, View0 x, View1 y)
Post propagator .
Boolean view for Boolean variables.