Gecode::SetVarGlbRanges Class Reference
[Range and value iterators for set variables]
List of all members.Detailed Description
Iterator for the greatest lower bound ranges of a set variable.
Definition at line 898 of file var.icc.
Constructors and initialization | |
| SetVarGlbRanges (void) | |
| Default constructor. | |
| SetVarGlbRanges (const SetVar &x) | |
| Initialize to iterate ranges of variable 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). | |
Constructor & Destructor Documentation
|
|
Default constructor.
|
|
|
Initialize to iterate ranges of variable x.
|
Member Function Documentation
|
|
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 files:
- gecode/set/var.icc (Revision: 3568)
- gecode/set/var/set.icc (Revision: 2334)
