Gecode::Set::Select::SelectIntersection< SView, RView > Class Template Reference
[Set propagators]
#include <select.hh>
Inherits Gecode::Propagator.
Detailed Description
template<class SView, class RView>
class Gecode::Set::Select::SelectIntersection< SView, RView >
Propagator for selected intersection
Requires
#include "gecode/set/select.hh"
Definition at line 47 of file select.hh.
Public Member Functions | |
| virtual Actor * | copy (Space *home, bool) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (void) const |
| Cost function. | |
| virtual size_t | dispose (Space *home) |
| Delete propagator and return its size. | |
| virtual ExecStatus | propagate (Space *home) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Space *home, SView z, IdxViewArray< SView > &x, RView y, const IntSet &u) |
Protected Member Functions | |
| SelectIntersection (Space *home, bool share, SelectIntersection &p) | |
| Constructor for cloning p. | |
| SelectIntersection (Space *home, SView, IdxViewArray< SView > &, RView, const IntSet &universe) | |
| Constructor for posting. | |
Protected Attributes | |
| IntSet | universe |
| SView | x0 |
| IdxViewArray< SView > | iv |
| RView | x1 |
Constructor & Destructor Documentation
template<class SView, class RView>
| Gecode::Set::Select::SelectIntersection< SView, RView >::SelectIntersection | ( | Space * | home, | |
| bool | share, | |||
| SelectIntersection< SView, RView > & | p | |||
| ) | [protected] |
Constructor for cloning p.
template<class SView, class RView>
| Gecode::Set::Select::SelectIntersection< SView, RView >::SelectIntersection | ( | Space * | home, | |
| SView | , | |||
| IdxViewArray< SView > & | , | |||
| RView | , | |||
| const IntSet & | universe | |||
| ) | [inline, protected] |
Member Function Documentation
template<class SView, class RView>
| Actor * Gecode::Set::Select::SelectIntersection< SView, RView >::copy | ( | Space * | home, | |
| bool | ||||
| ) | [virtual] |
template<class SView, class RView>
| PropCost Gecode::Set::Select::SelectIntersection< SView, RView >::cost | ( | void | ) | const [virtual] |
template<class SView, class RView>
| size_t Gecode::Set::Select::SelectIntersection< SView, RView >::dispose | ( | Space * | home | ) | [virtual] |
template<class SView, class RView>
| ExecStatus Gecode::Set::Select::SelectIntersection< SView, RView >::propagate | ( | Space * | home | ) | [virtual] |
template<class SView, class RView>
| ExecStatus Gecode::Set::Select::SelectIntersection< SView, RView >::post | ( | Space * | home, | |
| SView | z, | |||
| IdxViewArray< SView > & | x, | |||
| RView | y, | |||
| const IntSet & | u | |||
| ) | [static] |
Member Data Documentation
template<class SView, class RView>
IntSet Gecode::Set::Select::SelectIntersection< SView, RView >::universe [protected] |
template<class SView, class RView>
SView Gecode::Set::Select::SelectIntersection< SView, RView >::x0 [protected] |
template<class SView, class RView>
IdxViewArray<SView> Gecode::Set::Select::SelectIntersection< SView, RView >::iv [protected] |
template<class SView, class RView>
RView Gecode::Set::Select::SelectIntersection< SView, RView >::x1 [protected] |
The documentation for this class was generated from the following files:
- gecode/set/select.hh (Revision: 3246)
- gecode/set/select/inter.icc (Revision: 3246)

using u as universe