
Range iterator for integer sets. More...
#include <var-imp.hpp>
Constructors and initialization | |
| BndSetRanges (void) | |
| Default constructor. More... | |
| BndSetRanges (const BndSet &s) | |
| Initialize with BndSet s. More... | |
| void | init (const BndSet &s) |
| Initialize with BndSet s. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Gecode::Iter::Ranges::RangeList | |
| RangeList (void) | |
| Default constructor. More... | |
| RangeList (const Gecode::RangeList *s) | |
| Initialize with BndSet s. More... | |
| void | init (const Gecode::RangeList *s) |
| Initialize with BndSet s. More... | |
| bool | operator() (void) const |
| Test whether iterator is still at a range or done. More... | |
| void | operator++ (void) |
| Move iterator to next range (if possible) More... | |
| 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... | |
Protected Attributes inherited from Gecode::Iter::Ranges::RangeList | |
| const Gecode::RangeList * | c |
| Current range. More... | |
Range iterator for integer sets.
Definition at line 189 of file var-imp.hpp.
|
inline |
Default constructor.
Definition at line 244 of file integerset.hpp.
|
inline |
Initialize with BndSet s.
Definition at line 247 of file integerset.hpp.
|
inline |
Initialize with BndSet s.
Definition at line 251 of file integerset.hpp.