40 #ifndef __GECODE_SET_REL_HH__ 41 #define __GECODE_SET_REL_HH__ 45 namespace Gecode {
namespace Set {
namespace Rel {
52 template<
class VX,
class VY>
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>
182 ReEq(
Home home, View0 x0, View1 x1, CtrlView b);
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
CtrlView b
Boolean control view.
View0 x0
View of type View0.
Propagator for the subset constraint
Subset(Space &home, Subset &p)
Constructor for cloning p.
Base-class for propagators.
Propagator for set less than or equal
View1 x1
View of type View1.
virtual void reschedule(Space &home)
Schedule function.
Base-class for both propagators and branchers.
Gecode::FloatVal c(-8, 8)
Reified equality propagator
static ExecStatus post(Home home, View0 x, View1 y)
Post propagator .
int p
Number of positive literals for node type.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
ModEventDelta med
A set of modification events (used during propagation)
bool same(VX, VY)
Test whether two views are in fact the same.
Reified propagator for set less than or equal
virtual Actor * copy(Space &home)
Copy propagator during cloning.
Post propagator for SetVar SetOpType SetVar y
Reified subset propagator
ConstSetView y
The view that is already assigned.
Propagator for set equality
Propagator for negated equality
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function (defined as low binary)
Post propagator for SetVar x
Propagator for the negated subset constraint
Gecode toplevel namespace
int ModEventDelta
Modification event deltas.
Home class for posting propagators
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Boolean view for Boolean variables.