34namespace Gecode {
namespace Iter {
namespace Ranges {
78 unsigned int width(
void)
const;
84 unsigned int size(
void)
const;
Range iterator with size counting
unsigned int _size
Accumulated size.
int max(void) const
Return largest value of range.
bool operator()(void)
Test whether iterator is still at a range or done.
Size(void)
Default constructor.
void init(I &i)
Initialize with ranges from i.
int min(void) const
Return smallest value of range.
void operator++(void)
Move iterator to next range (if possible)
unsigned int size(void) const
Return accumulated size.
I i
Iterator to compute size of.
unsigned int width(void) const
Return width of range (distance between minimum and maximum)
Gecode toplevel namespace