Gecode::Set::Select::SelectUnion< SView, RView > Class Template Reference
[Set propagators]
#include <select.hh>
Inherits Gecode::Propagator.
Detailed Description
template<class SView, class RView>
class Gecode::Set::Select::SelectUnion< SView, RView >
Propagator for selected union
Requires
#include "gecode/set/select.hh"
Definition at line 108 of file select.hh.
Public Member Functions | |
| virtual Actor * | copy (Space *home, bool) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (ModEventDelta med) const |
| Cost function. | |
| virtual size_t | dispose (Space *home) |
| Delete propagator and return its size. | |
| virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
| Perform propagation. | |
| virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
| Specification for this propagator. | |
Static Public Member Functions | |
| static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
| Post using specification. | |
| static Support::Symbol | ati (void) |
| Name of this propagator. | |
| static ExecStatus | post (Space *home, SView z, IdxViewArray< SView > &x, RView y) |
Protected Member Functions | |
| SelectUnion (Space *home, bool share, SelectUnion &p) | |
| Constructor for cloning p. | |
| SelectUnion (Space *home, SView, IdxViewArray< SView > &, RView) | |
| Constructor for posting. | |
Protected Attributes | |
| SView | x0 |
| IdxViewArray< SView > | iv |
| RView | x1 |
Constructor & Destructor Documentation
template<class SView, class RView>
| Gecode::Set::Select::SelectUnion< SView, RView >::SelectUnion | ( | Space * | home, | |
| bool | share, | |||
| SelectUnion< SView, RView > & | p | |||
| ) | [inline, protected] |
template<class SView, class RView>
| Gecode::Set::Select::SelectUnion< SView, RView >::SelectUnion | ( | Space * | home, | |
| SView | y0, | |||
| IdxViewArray< SView > & | iv0, | |||
| RView | y1 | |||
| ) | [inline, protected] |
Member Function Documentation
template<class SView, class RView>
| Actor * Gecode::Set::Select::SelectUnion< SView, RView >::copy | ( | Space * | home, | |
| bool | share | |||
| ) | [inline, virtual] |
template<class SView, class RView>
| PropCost Gecode::Set::Select::SelectUnion< SView, RView >::cost | ( | ModEventDelta | med | ) | const [inline, virtual] |
template<class SView, class RView>
| size_t Gecode::Set::Select::SelectUnion< SView, RView >::dispose | ( | Space * | home | ) | [inline, virtual] |
template<class SView, class RView>
| ExecStatus Gecode::Set::Select::SelectUnion< SView, RView >::propagate | ( | Space * | home, | |
| ModEventDelta | med | |||
| ) | [inline, virtual] |
template<class SView, class RView>
| Reflection::ActorSpec Gecode::Set::Select::SelectUnion< SView, RView >::spec | ( | const Space * | home, | |
| Reflection::VarMap & | m | |||
| ) | const [inline, virtual] |
template<class SView, class RView>
| void Gecode::Set::Select::SelectUnion< SView, RView >::post | ( | Space * | home, | |
| Reflection::VarMap & | vars, | |||
| const Reflection::ActorSpec & | spec | |||
| ) | [inline, static] |
template<class SView, class RView>
| Support::Symbol Gecode::Set::Select::SelectUnion< SView, RView >::ati | ( | void | ) | [inline, static] |
template<class SView, class RView>
| ExecStatus Gecode::Set::Select::SelectUnion< SView, RView >::post | ( | Space * | home, | |
| SView | z, | |||
| IdxViewArray< SView > & | x, | |||
| RView | y | |||
| ) | [inline, static] |
Member Data Documentation
template<class SView, class RView>
SView Gecode::Set::Select::SelectUnion< SView, RView >::x0 [protected] |
template<class SView, class RView>
IdxViewArray<SView> Gecode::Set::Select::SelectUnion< SView, RView >::iv [protected] |
template<class SView, class RView>
RView Gecode::Set::Select::SelectUnion< SView, RView >::x1 [protected] |
The documentation for this class was generated from the following files:
- gecode/set/select.hh (Revision: 5993)
- gecode/set/select/union.icc (Revision: 6102)

![$ z=\bigcup\langle x_0,\dots,x_{n-1}\rangle[y] $](form_367.png)