Gecode::Set::ArrayRanges Class Reference
[Set views]
List of all members.Detailed Description
Range iterator for a two-dimensional array
Definition at line 28 of file const.icc.
Constructors and initialization | |
ArrayRanges () | |
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. | |
Iteration control | |
bool | operator() (void) const |
Test whether iterator is still at a range or done. | |
void | operator++ (void) |
Move iterator to next range (if possible). | |
Range access | |
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). |
Constructor & Destructor Documentation
|
Default constructor.
|
|
Initialize with ranges for array ranges which is of size size.
|
Member Function Documentation
|
Initialize with ranges for array ranges which is of size size.
|
|
Test whether iterator is still at a range or done.
|
|
Move iterator to next range (if possible).
|
|
Return smallest value of range.
|
|
Return largest value of range.
|
|
Return width of range (distance between minimum and maximum).
|
The documentation for this class was generated from the following file:
- gecode/set/view/const.icc (Revision: 3559)