Range iterator for a two-dimensional array
More...
#include <const.hpp>
|
| ArrayRanges (void) |
| Default constructor.
|
|
| ArrayRanges (int *ranges, int size) |
| Initialize with ranges for array ranges which is of size size.
|
|
void | init (int *ranges, int size) |
| Initialize with ranges for array ranges which is of size size.
|
|
|
bool | operator() (void) const |
| Test whether iterator is still at a range or done.
|
|
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)
|
|
Range iterator for a two-dimensional array
Definition at line 40 of file const.hpp.
◆ ArrayRanges() [1/2]
Gecode::Set::ArrayRanges::ArrayRanges |
( |
void | | ) |
|
|
inline |
Default constructor.
Definition at line 49 of file const.hpp.
◆ ArrayRanges() [2/2]
Gecode::Set::ArrayRanges::ArrayRanges |
( |
int * | ranges, |
|
|
int | size ) |
|
inline |
Initialize with ranges for array ranges which is of size size.
Definition at line 51 of file const.hpp.
◆ init()
void Gecode::Set::ArrayRanges::init |
( |
int * | ranges, |
|
|
int | size ) |
|
inline |
Initialize with ranges for array ranges which is of size size.
Definition at line 54 of file const.hpp.
◆ operator()()
bool Gecode::Set::ArrayRanges::operator() |
( |
void | | ) |
const |
|
inline |
Test whether iterator is still at a range or done.
Definition at line 62 of file const.hpp.
◆ operator++()
void Gecode::Set::ArrayRanges::operator++ |
( |
void | | ) |
|
|
inline |
Move iterator to next range (if possible)
Definition at line 64 of file const.hpp.
◆ min()
int Gecode::Set::ArrayRanges::min |
( |
void | | ) |
const |
|
inline |
Return smallest value of range.
Definition at line 70 of file const.hpp.
◆ max()
int Gecode::Set::ArrayRanges::max |
( |
void | | ) |
const |
|
inline |
Return largest value of range.
Definition at line 72 of file const.hpp.
◆ width()
unsigned int Gecode::Set::ArrayRanges::width |
( |
void | | ) |
const |
|
inline |
Return width of range (distance between minimum and maximum)
Definition at line 74 of file const.hpp.
The documentation for this class was generated from the following file: