40 #ifndef __GECODE_SET_SELECT_HH__
41 #define __GECODE_SET_SELECT_HH__
50 namespace Gecode {
namespace Int {
65 namespace Gecode {
namespace Set {
namespace Element {
78 template<
class View,
class View0,
class View1>
107 View1 z,
const IntSet& u);
116 template<
class View,
class View0,
class View1>
151 template<
class SView,
class RView>
185 template<
class SView,
class RView>
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
static ExecStatus post(Home home, IdxViewArray &x, View0 y, View1 z, const IntSet &u)
virtual size_t dispose(Space &home)
Delete propagator and return its size.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
static ExecStatus post(Home home, SView z, const IntSetArgs &x, RView y)
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Gecode::Int::IdxViewArray< SView > IdxViewArray
Base-class for propagators.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Propagator for element with disjointness
Propagator for element with union of constant sets
Base-class for both propagators and branchers.
Gecode::Int::IdxViewArray< View > IdxViewArray
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
Gecode::SetVarArgs argtype
int p
Number of positive literals for node type.
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
ElementUnionConst(Space &home, bool share, ElementUnionConst &p)
Constructor for cloning p.
ModEventDelta med
A set of modification events (used during propagation)
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
static ExecStatus post(Home home, IdxViewArray &x, View0 y, View1 z)
ElementIntersection(Space &home, bool share, ElementIntersection &p)
Constructor for cloning p.
Passing integer variables.
static ExecStatus post(Home home, IdxViewArray &x, RView y)
Post propagator for .
Propagator for element with intersection
Set view for set variables
Gecode::IntVarArgs argtype
Node * x
Pointer to corresponding Boolean expression node.
Propagator for element with union
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
ElementUnion(Space &home, bool share, ElementUnion &p)
Constructor for cloning p.
An array of IdxView pairs.
Gecode toplevel namespace
int ModEventDelta
Modification event deltas.
virtual Actor * copy(Space &home, bool)
Copy propagator during cloning.
Home class for posting propagators
Class to map VarArg type to view.
Gecode::Int::IdxViewArray< View > IdxViewArray
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
ElementDisjoint(Space &home, bool share, ElementDisjoint &p)
Constructor for cloning p.