Gecode::Iter::Ranges::Singleton Class Reference
[Range iterators]
Inherits Gecode::Iter::Ranges::MinMax.
Inherited by Gecode::Int::ViewRanges< BoolView >, Gecode::Int::ViewRanges< NegBoolView >, Gecode::Set::GlbRanges< UniverseView >, and Gecode::Set::LubRanges< UniverseView >.
Detailed Description
Range iterator for singleton range.Definition at line 46 of file ranges-singleton.icc.
Constructors and initialization | |
| Singleton (void) | |
| Default constructor. | |
| Singleton (int min, int max) | |
| Initialize with range min to max. | |
| void | init (int min, int max) |
| Initialize with range min to max. | |
Iteration control | |
| void | operator++ (void) |
| Move iterator to next range (if possible). | |
Constructor & Destructor Documentation
| Gecode::Iter::Ranges::Singleton::Singleton | ( | void | ) | [inline] |
| Gecode::Iter::Ranges::Singleton::Singleton | ( | int | min, | |
| int | max | |||
| ) | [inline] |
Member Function Documentation
| void Gecode::Iter::Ranges::Singleton::init | ( | int | min, | |
| int | max | |||
| ) | [inline] |
| void Gecode::Iter::Ranges::Singleton::operator++ | ( | void | ) | [inline] |
The documentation for this class was generated from the following file:
- gecode/iter/ranges-singleton.icc (Revision: 4973)
