Gecode::CpltSet::LubValues< T > Class Template Reference
Detailed Description
template<class T>
class Gecode::CpltSet::LubValues< T >
Iterate the values in the least upper bound of a bdd set variable.
Definition at line 77 of file var-imp.icc.
Constructors and initialization | |
LubValues (void) | |
Default constructor. | |
LubValues (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 | min (void) const |
Return minimum of current range. | |
int | max (void) const |
Return maximum of current range. |
Constructor & Destructor Documentation
template<class T>
Gecode::CpltSet::LubValues< T >::LubValues | ( | void | ) |
Default constructor.
template<class T>
Gecode::CpltSet::LubValues< T >::LubValues | ( | const T & | x | ) |
Initialize with least upper bound ranges for set variable x.
Member Function Documentation
template<class T>
void Gecode::CpltSet::LubValues< T >::init | ( | const T & | x | ) |
Initialize with least upper bound ranges for set variable x.
template<class T>
bool Gecode::CpltSet::LubValues< T >::operator() | ( | void | ) | const |
Test whether iterator is still at a range or done.
template<class T>
void Gecode::CpltSet::LubValues< T >::operator++ | ( | void | ) |
Move iterator to next range (if possible).
template<class T>
int Gecode::CpltSet::LubValues< T >::min | ( | void | ) | const |
Return minimum of current range.
template<class T>
int Gecode::CpltSet::LubValues< T >::max | ( | void | ) | const |
Return maximum of current range.
The documentation for this class was generated from the following file:
- gecode/cpltset/var-imp.icc (Revision: 6327)