Gecode::Set::RelOp::UnionN< View0, View1 > Class Template Reference
[Set propagators]
#include <rel-op.hh>
Inherits MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY >.
Detailed Description
template<class View0, class View1>
class Gecode::Set::RelOp::UnionN< View0, View1 >
Propagator for nary union
Requires
#include "gecode/set/rel-op.hh"
Definition at line 261 of file rel-op.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
Perform propagation. | |
virtual PropCost | cost (ModEventDelta med) const |
Cost function (defined as dynamic PC_LINEAR_LO). | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Specification for this propagator. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, ViewArray< View0 > &y, View1 x) |
Post propagator . | |
static ExecStatus | post (Space *home, ViewArray< View0 > &y, const IntSet &z, View1 x) |
Post propagator . | |
static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
Post using specification. | |
static Support::Symbol | ati (void) |
Name of this propagator. | |
Protected Member Functions | |
UnionN (Space *home, bool share, UnionN &p) | |
Constructor for cloning p. | |
UnionN (Space *home, ViewArray< View0 > &, View1) | |
Constructor for posting. | |
UnionN (Space *home, ViewArray< View0 > &, const IntSet &, View1) | |
Constructor for posting. | |
Protected Attributes | |
bool | shared |
Whether the any views share a variable implementation. | |
GLBndSet | unionOfDets |
Union of the determined (which are dropped). |
Constructor & Destructor Documentation
template<class View0, class View1>
Gecode::Set::RelOp::UnionN< View0, View1 >::UnionN | ( | Space * | home, | |
bool | share, | |||
UnionN< View0, View1 > & | p | |||
) | [inline, protected] |
template<class View0, class View1>
Gecode::Set::RelOp::UnionN< View0, View1 >::UnionN | ( | Space * | home, | |
ViewArray< View0 > & | x, | |||
View1 | y | |||
) | [inline, protected] |
template<class View0, class View1>
Gecode::Set::RelOp::UnionN< View0, View1 >::UnionN | ( | Space * | home, | |
ViewArray< View0 > & | x, | |||
const IntSet & | z, | |||
View1 | y | |||
) | [inline, protected] |
Member Function Documentation
template<class View0, class View1>
Actor * Gecode::Set::RelOp::UnionN< View0, View1 >::copy | ( | Space * | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View0, class View1>
ExecStatus Gecode::Set::RelOp::UnionN< View0, View1 >::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<class View0, class View1>
PropCost Gecode::Set::RelOp::UnionN< View0, View1 >::cost | ( | ModEventDelta | med | ) | const [inline, virtual] |
Cost function (defined as dynamic PC_LINEAR_LO).
Reimplemented from Gecode::MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY >.
template<class View0, class View1>
ExecStatus Gecode::Set::RelOp::UnionN< View0, View1 >::post | ( | Space * | home, | |
ViewArray< View0 > & | y, | |||
View1 | x | |||
) | [inline, static] |
template<class View0, class View1>
ExecStatus Gecode::Set::RelOp::UnionN< View0, View1 >::post | ( | Space * | home, | |
ViewArray< View0 > & | y, | |||
const IntSet & | z, | |||
View1 | x | |||
) | [inline, static] |
template<class View0, class View1>
Reflection::ActorSpec Gecode::Set::RelOp::UnionN< View0, View1 >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
template<class View0, class View1>
void Gecode::Set::RelOp::UnionN< View0, View1 >::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [inline, static] |
template<class View0, class View1>
Support::Symbol Gecode::Set::RelOp::UnionN< View0, View1 >::ati | ( | void | ) | [inline, static] |
Member Data Documentation
template<class View0, class View1>
bool Gecode::Set::RelOp::UnionN< View0, View1 >::shared [protected] |
template<class View0, class View1>
GLBndSet Gecode::Set::RelOp::UnionN< View0, View1 >::unionOfDets [protected] |
The documentation for this class was generated from the following files:
- gecode/set/rel-op.hh (Revision: 5993)
- gecode/set/rel-op/union.icc (Revision: 6017)