Gecode::SetVarLubValues Class Reference
[Range and value iterators for set variables]
Iterator for the values in the least upper bound of a set variable. More...
#include <set.hh>
Constructors and initialization | |
| |
SetVarLubValues (void) | |
Default constructor. | |
SetVarLubValues (const SetVar &x) | |
Initialize to iterate values of variable x. | |
Iteration control | |
| |
bool | operator() (void) const |
Test whether iterator is still at a value or done. | |
void | operator++ (void) |
Move iterator to next value (if possible). | |
Value access | |
| |
int | val (void) const |
Return current value. |
Detailed Description
Iterator for the values in the least upper bound of a set variable.
Definition at line 396 of file set.hh.
Constructor & Destructor Documentation
Gecode::SetVarLubValues::SetVarLubValues | ( | void | ) |
Default constructor.
Gecode::SetVarLubValues::SetVarLubValues | ( | const SetVar & | x | ) | [inline] |
Member Function Documentation
bool Gecode::SetVarLubValues::operator() | ( | void | ) | const [inline] |
void Gecode::SetVarLubValues::operator++ | ( | void | ) | [inline] |
int Gecode::SetVarLubValues::val | ( | void | ) | const [inline] |
The documentation for this class was generated from the following files:
- gecode/set.hh (Revision: 12346)
- gecode/set/var/set.hpp (Revision: 11366)