38 namespace Gecode {
namespace Iter {
namespace Ranges {
60 void init(I& i,
int c);
78 unsigned int width(
void)
const;
int min(void) const
Return smallest value of range.
bool operator()(void) const
Test whether iterator is still at a range or done.
void operator++(void)
Move iterator to next range (if possible)
Gecode::FloatVal c(-8, 8)
Gecode::IntArgs i(4, 1, 2, 3, 4)
int max(void) const
Return largest value of range.
Offset(void)
Default constructor.
void init(I &i, int c)
Initialize with ranges from i and offset c.
unsigned int width(void) const
Return width of range (distance between minimum and maximum)
Gecode toplevel namespace
Range iterator for pointwise offset (by some constant)