Range iterator for integer sets.
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...
|
| |
Range iterator for integer sets.
Definition at line 271 of file int.hh.
| Gecode::IntSetRanges::IntSetRanges |
( |
void |
| ) |
|
|
inline |
| Gecode::IntSetRanges::IntSetRanges |
( |
const IntSet & |
s | ) |
|
|
inline |
| void Gecode::IntSetRanges::init |
( |
const IntSet & |
s | ) |
|
|
inline |
| bool Gecode::IntSetRanges::operator() |
( |
void |
| ) |
const |
|
inline |
| void Gecode::IntSetRanges::operator++ |
( |
void |
| ) |
|
|
inline |
Move iterator to next range (if possible)
Definition at line 194 of file int-set-1.hpp.
| int Gecode::IntSetRanges::min |
( |
void |
| ) |
const |
|
inline |
| int Gecode::IntSetRanges::max |
( |
void |
| ) |
const |
|
inline |
| unsigned int Gecode::IntSetRanges::width |
( |
void |
| ) |
const |
|
inline |
Return width of range (distance between minimum and maximum)
Definition at line 211 of file int-set-1.hpp.
The documentation for this class was generated from the following files: