Gecode::Set::BndSetRanges Class Reference
Inherited by
Gecode::Set::GlbRanges< SetVarImp * >, and
Gecode::Set::LubRanges< SetVarImp * >.
List of all members.
Detailed Description
Range iterator for integer sets.
Definition at line 242 of file var-imp.icc.
|
Constructors and initialization |
| | BndSetRanges (void) |
| | Default constructor.
|
| | BndSetRanges (const BndSet &s) |
| | Initialize with BndSet s.
|
| void | init (const BndSet &s) |
| | Initialize with BndSet s.
|
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
| Gecode::Set::BndSetRanges::BndSetRanges |
( |
void |
|
) |
[inline] |
| Gecode::Set::BndSetRanges::BndSetRanges |
( |
const BndSet & |
s |
) |
[inline] |
Member Function Documentation
| void Gecode::Set::BndSetRanges::init |
( |
const BndSet & |
s |
) |
[inline] |
| bool Gecode::Set::BndSetRanges::operator() |
( |
void |
|
) |
const [inline] |
| void Gecode::Set::BndSetRanges::operator++ |
( |
void |
|
) |
[inline] |
Move iterator to next range (if possible).
Definition at line 299 of file integerset.icc.
| int Gecode::Set::BndSetRanges::min |
( |
void |
|
) |
const [inline] |
| int Gecode::Set::BndSetRanges::max |
( |
void |
|
) |
const [inline] |
| unsigned int Gecode::Set::BndSetRanges::width |
( |
void |
|
) |
const [inline] |
Return width of range (distance between minimum and maximum).
Definition at line 312 of file integerset.icc.
The documentation for this class was generated from the following files: