Gecode::CpltSet::GlbValues< T > Class Template Reference
Detailed Description
template<class T>
class Gecode::CpltSet::GlbValues< T >
Iterate the values in the greatest lower bound of a CpltSetvariable.
Definition at line 51 of file var-imp.icc.
Constructors and initialization | |
| GlbValues (void) | |
| Default constructor. | |
| GlbValues (const T &x) | |
| Initialize with least upper bound ranges for set variable x. | |
| void | init (const T &x) |
| Initialize with least upper bound ranges for set variable x. | |
Iteration control | |
| bool | operator() (void) const |
| Test whether iterator is still at a range or done. | |
| void | operator++ (void) |
| Move iterator to next range (if possible). | |
Value access | |
| int | val (void) const |
| Return current value. | |
Constructor & Destructor Documentation
template<class T>
| Gecode::CpltSet::GlbValues< T >::GlbValues | ( | void | ) |
Default constructor.
template<class T>
| Gecode::CpltSet::GlbValues< T >::GlbValues | ( | const T & | x | ) |
Initialize with least upper bound ranges for set variable x.
Member Function Documentation
template<class T>
| void Gecode::CpltSet::GlbValues< T >::init | ( | const T & | x | ) |
Initialize with least upper bound ranges for set variable x.
template<class T>
| bool Gecode::CpltSet::GlbValues< T >::operator() | ( | void | ) | const |
Test whether iterator is still at a range or done.
template<class T>
| void Gecode::CpltSet::GlbValues< T >::operator++ | ( | void | ) |
Move iterator to next range (if possible).
template<class T>
| int Gecode::CpltSet::GlbValues< T >::val | ( | void | ) | const |
Return current value.
The documentation for this class was generated from the following file:
- gecode/cpltset/var-imp.icc (Revision: 6327)
