Range iterator for the least upper bound of a set variable implementation. More...
#include <set.hpp>
Constructors and initialization | |
LubRanges (void) | |
Default constructor. More... | |
LubRanges (const SetVarImp *) | |
Initialize with ranges for variable implementation x. More... | |
void | init (const SetVarImp *) |
Initialize with ranges for variable implementation x. More... | |
Additional Inherited Members | |
![]() | |
BndSetRanges (void) | |
Default constructor. More... | |
BndSetRanges (const BndSet &s) | |
Initialize with BndSet s. More... | |
void | init (const BndSet &s) |
Initialize with BndSet s. More... | |
![]() | |
RangeList (void) | |
Default constructor. More... | |
RangeList (const Gecode::RangeList *s) | |
Initialize with BndSet s. More... | |
void | init (const Gecode::RangeList *s) |
Initialize with BndSet s. More... | |
bool | operator() (void) const |
Test whether iterator is still at a range or done. More... | |
void | operator++ (void) |
Move iterator to next range (if possible) More... | |
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... | |
![]() | |
const Gecode::RangeList * | c |
Current range. More... | |
Range iterator for the least upper bound of a set variable implementation.
This class provides (by specialization) a range iterator for the least upper bounds of set variable implementations.
|
inline |
|
inline |
|
inline |