Iterator for the greatest lower bound ranges of a set variable.
More...
#include <set.hh>
|
int | min (void) const |
| Return smallest value of range. More...
|
|
int | max (void) const |
| Return largest value of range. More...
|
|
unsigned int | width (void) const |
| Return width of range (distance between minimum and maximum) More...
|
|
Iterator for the greatest lower bound ranges of a set variable.
Definition at line 272 of file set.hh.
Gecode::SetVarGlbRanges::SetVarGlbRanges |
( |
void |
| ) |
|
|
inline |
Default constructor.
Definition at line 107 of file set.hpp.
Gecode::SetVarGlbRanges::SetVarGlbRanges |
( |
const SetVar & |
x | ) |
|
|
inline |
Initialize to iterate ranges of variable x.
Definition at line 110 of file set.hpp.
bool Gecode::SetVarGlbRanges::operator() |
( |
void |
| ) |
const |
|
inline |
Test whether iterator is still at a range or done.
Definition at line 115 of file set.hpp.
void Gecode::SetVarGlbRanges::operator++ |
( |
void |
| ) |
|
|
inline |
Move iterator to next range (if possible)
Definition at line 119 of file set.hpp.
int Gecode::SetVarGlbRanges::min |
( |
void |
| ) |
const |
|
inline |
Return smallest value of range.
Definition at line 123 of file set.hpp.
int Gecode::SetVarGlbRanges::max |
( |
void |
| ) |
const |
|
inline |
Return largest value of range.
Definition at line 127 of file set.hpp.
unsigned int Gecode::SetVarGlbRanges::width |
( |
void |
| ) |
const |
|
inline |
Return width of range (distance between minimum and maximum)
Definition at line 131 of file set.hpp.
The documentation for this class was generated from the following files: