Gecode::Set::GlbRanges< SingletonView > Class Template Reference
[Set views]
List of all members.
Detailed Description
template<>
class Gecode::Set::GlbRanges< SingletonView >
Range iterator for greatest lower bound of singleton set view
Definition at line 264 of file singleton.icc.
|
Constructors and initialization |
| GlbRanges (void) |
| Default constructor.
|
| GlbRanges (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 ranges (distance between minimum and maximum).
|
Constructor & Destructor Documentation
Initialize with ranges for view x.
Definition at line 312 of file singleton.icc.
Member Function Documentation
Initialize with ranges for view x.
Definition at line 301 of file singleton.icc.
Test whether iterator is still at a range or done.
Definition at line 317 of file singleton.icc.
Move iterator to next range (if possible).
Definition at line 320 of file singleton.icc.
Return width of ranges (distance between minimum and maximum).
Definition at line 327 of file singleton.icc.
The documentation for this class was generated from the following file: