Iterator over ranges.
More...
#include <int.hh>
|
bool | operator() (void) const |
| Test whether iterator is still at a range.
|
|
void | operator++ (void) |
| Move iterator to next range (if possible)
|
|
|
int | min (void) const |
| Return smallest value of range.
|
|
int | max (void) const |
| Return largest value of range.
|
|
unsigned int | width (void) const |
| Return width of range (distance between minimum and maximum)
|
|
Iterator over ranges.
Definition at line 2359 of file int.hh.
◆ Ranges()
Gecode::TupleSet::Ranges::Ranges |
( |
const TupleSet & | ts, |
|
|
int | i ) |
|
inline |
◆ operator()()
bool Gecode::TupleSet::Ranges::operator() |
( |
void | | ) |
const |
|
inline |
◆ operator++()
void Gecode::TupleSet::Ranges::operator++ |
( |
void | | ) |
|
|
inline |
Move iterator to next range (if possible)
Definition at line 270 of file tuple-set.hpp.
◆ min()
int Gecode::TupleSet::Ranges::min |
( |
void | | ) |
const |
|
inline |
◆ max()
int Gecode::TupleSet::Ranges::max |
( |
void | | ) |
const |
|
inline |
◆ width()
unsigned int Gecode::TupleSet::Ranges::width |
( |
void | | ) |
const |
|
inline |
Return width of range (distance between minimum and maximum)
Definition at line 283 of file tuple-set.hpp.
const Range* Gecode::TupleSet::Ranges::c |
|
protected |
Current range.
Definition at line 2362 of file int.hh.
const Range* Gecode::TupleSet::Ranges::l |
|
protected |
Last range.
Definition at line 2364 of file int.hh.
The documentation for this class was generated from the following files: