Go to the documentation of this file.
36 #ifndef __GECODE_SET_SELECT_HH__
37 #define __GECODE_SET_SELECT_HH__
46 namespace Gecode {
namespace Int {
64 namespace Gecode {
namespace Set {
namespace Element {
77 template<
class View,
class View0,
class View1>
118 template<
class View,
class View0,
class View1>
156 template<
class SView,
class RView>
193 template<
class SView,
class RView>
Propagator for element with disjointness
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Post propagator for SetVar x
ElementUnion(Space &home, ElementUnion &p)
Constructor for cloning p.
Post propagator for SetVar SetOpType SetVar y
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Propagator for element with intersection
An array of IdxView pairs.
Passing integer variables.
Gecode::Int::IdxViewArray< SView > IdxViewArray
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Post propagator for SetVar SetOpType SetVar SetRelType SetVar z
ElementUnionConst(Space &home, ElementUnionConst &p)
Constructor for cloning p.
static ExecStatus post(Home home, IdxViewArray &x, View0 y, View1 z, const IntSet &u)
Class to map VarArg type to view.
virtual Actor * copy(Space &home)
Copy propagator during cloning.
Gecode::SetVarArgs argtype
Base-class for both propagators and branchers.
ElementDisjoint(Space &home, ElementDisjoint &p)
Constructor for cloning p.
virtual void reschedule(Space &home)
Schedule function.
virtual Actor * copy(Space &home)
Copy propagator during cloning.
virtual Actor * copy(Space &home)
Copy propagator during cloning.
virtual void reschedule(Space &home)
Schedule function.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Gecode::Int::IdxViewArray< View > IdxViewArray
Gecode::IntVarArgs argtype
Gecode toplevel namespace
Base-class for propagators.
Gecode::Int::IdxViewArray< View > IdxViewArray
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
virtual Actor * copy(Space &home)
Copy propagator during cloning.
Home class for posting propagators
virtual size_t dispose(Space &home)
Delete propagator and return its size.
ModEventDelta med
A set of modification events (used during propagation)
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
virtual void reschedule(Space &home)
Schedule function.
ElementIntersection(Space &home, ElementIntersection &p)
Constructor for cloning p.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
virtual void reschedule(Space &home)
Schedule function.
Set view for set variables
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Propagator for element with union
Propagator for element with union of constant sets
static ExecStatus post(Home home, SView z, const IntSetArgs &x, RView y)
int ModEventDelta
Modification event deltas.
static ExecStatus post(Home home, IdxViewArray &x, View0 y, View1 z)
int p
Number of positive literals for node type.
static ExecStatus post(Home home, IdxViewArray &x, RView y)
Post propagator for .