34 namespace Gecode {
namespace Iter {
namespace Ranges {
88 cur =
i.min();
max =
i.max();
122 cur =
i.min();
max =
i.max();
Value iterator from range iterator.
int val(void) const
Return current value.
void start(void)
Initialize iterator.
ToValues(I &i)
Initialize with values from range iterator i.
void operator++(void)
Move iterator to next value (if possible)
bool operator()(void) const
Test whether iterator is still at a value or done.
void init(I &i)
Initialize with values from range iterator i.
ToValues(void)
Default constructor.
int max
End of current range.
const FloatNum max
Largest allowed float value.
Gecode::IntArgs i({1, 2, 3, 4})