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
|
||||||||||||||||||||
|
Constructor for cloning p.
|
|
||||||||||||||||||||||||||||
|
Constructor for posting.
|
Member Function Documentation
|
||||||||||||||||
|
Copy propagator during cloning.
Implements Gecode::Actor. |
|
||||||||||
|
Cost function.
Implements Gecode::Propagator. |
|
||||||||||
|
Delete propagator and return its size.
Reimplemented from Gecode::Actor. |
|
||||||||||
|
Perform propagation.
Implements Gecode::Propagator. |
|
||||||||||||||||||||||||||||
|
Post propagator for If y is empty, z will be constrained to be the given universe u (as an empty intersection is the universe). |
Member Data Documentation
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
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