
Range iterator for minus integer views More...
#include <minus.hpp>
Constructors and initialization | |
| ViewRanges (void) | |
| Default constructor. | |
| ViewRanges (const MinusView &x) | |
| Initialize with ranges for view x. | |
| void | init (const MinusView &x) |
| Initialize with ranges for view x. | |
Range access | |
| int | min (void) const |
| Return smallest value of range. | |
| int | max (void) const |
| Return largest value of range. | |
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 | |
| unsigned int | width (void) const |
| Return width of range (distance between minimum and maximum) | |
Additional Inherited Members | |
| IntVarImpBwd (void) | |
| Default constructor. | |
| IntVarImpBwd (const IntVarImp *x) | |
| Initialize with ranges from variable implementation x. | |
| void | init (const IntVarImp *x) |
| Initialize with ranges from variable implementation x. | |
| bool | operator() (void) const |
| Test whether iterator is still at a range or done. | |
| void | operator++ (void) |
| Move iterator to previous 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) | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Gecode::Int::ViewRanges< MinusView >::operator() | ( | void | ) | const |
Test whether iterator is still at a range or done.
| void Gecode::Int::ViewRanges< MinusView >::operator++ | ( | void | ) |
Move iterator to next range (if possible)
| unsigned int Gecode::Int::ViewRanges< MinusView >::width | ( | void | ) | const |
Return width of range (distance between minimum and maximum)