38 namespace Gecode {
namespace Iter {
namespace Ranges {
78 unsigned int width(
void)
const;
RangeList * next(void) const
Return next element.
const Gecode::RangeList * c
Current range.
RangeList(void)
Default constructor.
Range iterator for range lists
unsigned int width(void) const
Return width of range (distance between minimum and maximum)
int min(void) const
Return minimum.
bool operator()(void) const
Test whether iterator is still at a range or done.
Gecode::FloatVal c(-8, 8)
void operator++(void)
Move iterator to next range (if possible)
int max(void) const
Return maximum.
void init(const Gecode::RangeList *s)
Initialize with BndSet s.
Lists of ranges (intervals)
int max(void) const
Return largest value of range.
Gecode toplevel namespace
int min(void) const
Return smallest value of range.
unsigned int width(void) const
Return width (distance between maximum and minimum)