Go to the documentation of this file.
40 #ifndef __GECODE_SET_SELECT_HH__
41 #define __GECODE_SET_SELECT_HH__
50 namespace Gecode {
namespace Int {
68 namespace Gecode {
namespace Set {
namespace Element {
81 template<
class View,
class View0,
class View1>
122 template<
class View,
class View0,
class View1>
160 template<
class SView,
class RView>
197 template<
class SView,
class RView>
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
Propagator for element with disjointness
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Post propagator for SetVar x
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.
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
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
static ExecStatus post(Home home, IdxViewArray &x, View0 y, View1 z, const IntSet &u)
Class to map VarArg type to view.
Gecode::SetVarArgs argtype
Base-class for both propagators and branchers.
virtual void reschedule(Space &home)
Schedule function.
ElementUnion(Space &home, bool share, ElementUnion &p)
Constructor for cloning p.
virtual void reschedule(Space &home)
Schedule function.
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Gecode::Int::IdxViewArray< View > IdxViewArray
Gecode::IntVarArgs argtype
ElementUnionConst(Space &home, bool share, ElementUnionConst &p)
Constructor for cloning p.
Gecode toplevel namespace
Base-class for propagators.
Gecode::Int::IdxViewArray< View > IdxViewArray
ElementDisjoint(Space &home, bool share, ElementDisjoint &p)
Constructor for cloning p.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
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.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
virtual void reschedule(Space &home)
Schedule function.
Set view for set variables
ElementIntersection(Space &home, bool share, ElementIntersection &p)
Constructor for cloning p.
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 .
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.