Range iterator for least upper bound of singleton set view More...
#include <singleton.hpp>
Constructors and initialization | |
LubRanges (void) | |
Default constructor. | |
LubRanges (const SingletonView &x) | |
Initialize with ranges for view x. | |
void | init (const SingletonView &x) |
Initialize with ranges for view x. |
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) |
Additional Inherited Members | |
IntVarImpFwd (void) | |
Default constructor. | |
IntVarImpFwd (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 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 least upper bound of singleton set view
Definition at line 315 of file singleton.hpp.
|
inline |
Default constructor.
Definition at line 329 of file singleton.hpp.
|
inline |
Initialize with ranges for view x.
Definition at line 332 of file singleton.hpp.
|
inline |
Initialize with ranges for view x.
Definition at line 336 of file singleton.hpp.
bool Gecode::Set::LubRanges< SingletonView >::operator() | ( | void | ) | const |
Test whether iterator is still at a range or done.
void Gecode::Set::LubRanges< SingletonView >::operator++ | ( | void | ) |
Move iterator to next range (if possible)
int Gecode::Set::LubRanges< SingletonView >::min | ( | void | ) | const |
Return smallest value of range.
int Gecode::Set::LubRanges< SingletonView >::max | ( | void | ) | const |
Return largest value of range.
unsigned int Gecode::Set::LubRanges< SingletonView >::width | ( | void | ) | const |
Return width of range (distance between minimum and maximum)