Backward iterator for ranges of integer variable implementations. More...
#include <var-imp.hpp>
Constructors and initialization | |
IntVarImpBwd (void) | |
Default constructor. More... | |
IntVarImpBwd (const IntVarImp *x) | |
Initialize with ranges from variable implementation x. More... | |
void | init (const IntVarImp *x) |
Initialize with ranges from variable implementation x. More... | |
Iteration control | |
bool | operator() (void) const |
Test whether iterator is still at a range or done. More... | |
void | operator++ (void) |
Move iterator to previous range (if possible) More... | |
Range access | |
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... | |
Backward iterator for ranges of integer variable implementations.
Note that this iterator is not a range iterator as the ranges are not iterated in increasing but in decreasing order.
Definition at line 430 of file var-imp.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |