Iterator over ranges.
More...
#include <int.hh>
|
int | min (void) const |
| Return smallest value of range. More...
|
|
int | max (void) const |
| Return largest value of range. More...
|
|
unsigned int | width (void) const |
| Return width of range (distance between minimum and maximum) More...
|
|
Iterator over ranges.
Definition at line 2358 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 2361 of file int.hh.
const Range* Gecode::TupleSet::Ranges::l |
|
protected |
Last range.
Definition at line 2363 of file int.hh.
The documentation for this class was generated from the following files: