Gecode::Iter::Ranges::Singleton Class Reference
[Range iterators]
Range iterator for singleton range. More...
#include <ranges-singleton.hpp>
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). |
Detailed Description
Range iterator for singleton range.
Definition at line 46 of file ranges-singleton.hpp.
Constructor & Destructor Documentation
Gecode::Iter::Ranges::Singleton::Singleton | ( | void | ) | [inline] |
Default constructor.
Definition at line 67 of file ranges-singleton.hpp.
Gecode::Iter::Ranges::Singleton::Singleton | ( | int | min, | |
int | max | |||
) | [inline] |
Initialize with range min to max.
Definition at line 70 of file ranges-singleton.hpp.
Member Function Documentation
void Gecode::Iter::Ranges::Singleton::init | ( | int | min, | |
int | max | |||
) | [inline] |
Initialize with range min to max.
Definition at line 74 of file ranges-singleton.hpp.
void Gecode::Iter::Ranges::Singleton::operator++ | ( | void | ) | [inline] |
Move iterator to next range (if possible).
Definition at line 79 of file ranges-singleton.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-singleton.hpp (Revision: 7989)