Iterator for the least upper bound ranges of a set variable. More...
#include <set.hh>
Constructors and initialization | |
SetVarLubRanges (void) | |
Default constructor. | |
SetVarLubRanges (const SetVar &x) | |
Initialize to iterate ranges of 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) | |
Range access | |
int | min (void) const |
Return smallest value of range. | |
int | max (void) const |
Return largest value of range. | |
unsigned int | width (void) const |
Return width of range (distance between minimum and maximum) |
Gecode::SetVarLubRanges::SetVarLubRanges | ( | void | ) | [inline] |
Gecode::SetVarLubRanges::SetVarLubRanges | ( | const SetVar & | x | ) | [inline] |
bool Gecode::SetVarLubRanges::operator() | ( | void | ) | const [inline] |
void Gecode::SetVarLubRanges::operator++ | ( | void | ) | [inline] |
int Gecode::SetVarLubRanges::min | ( | void | ) | const [inline] |
int Gecode::SetVarLubRanges::max | ( | void | ) | const [inline] |
unsigned int Gecode::SetVarLubRanges::width | ( | void | ) | const [inline] |