Gecode::Iter::Ranges::Empty Class Reference
[Range iterators]
Inherited by Gecode::Set::GlbRanges< EmptyView >, and Gecode::Set::LubRanges< EmptyView >.
Detailed Description
Range iterator for empty range.Requires
#include "gecode/iter.hh"
Definition at line 31 of file ranges-empty.icc.
Constructors and initialization | |
Empty (void) | |
Default constructor. | |
void | init (void) |
Initialize. | |
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.
Definition at line 62 of file ranges-empty.icc. |
Member Function Documentation
|
Initialize.
Definition at line 65 of file ranges-empty.icc. |
|
Test whether iterator is still at a range or done.
Definition at line 73 of file ranges-empty.icc. |
|
Move iterator to next range (if possible).
Definition at line 68 of file ranges-empty.icc. |
|
Return smallest value of range.
Definition at line 78 of file ranges-empty.icc. |
|
Return largest value of range.
Definition at line 83 of file ranges-empty.icc. |
|
Return width of range (distance between minimum and maximum).
Definition at line 88 of file ranges-empty.icc. |
The documentation for this class was generated from the following file:
- gecode/iter/ranges-empty.icc (Revision: 3413)