Gecode::Iter::Ranges::SingletonAppend< J > Class Template Reference
[Range iterators]
Range iterator for appending a singleton with a range iterator More...
#include <ranges-singleton-append.hpp>
Protected Attributes | |
| J | j |
| Iterator to be appended. | |
Constructors and initialization | |
|
| |
| SingletonAppend (void) | |
| Default constructor. | |
| SingletonAppend (int i0, int i1, J &j) | |
| Initialize with singleton (i0, i1) and iterator j. | |
| void | init (int i0, int i1, J &j) |
| Initialize with singleton (i0, i1) and iterator j. | |
Iteration control | |
|
| |
| void | operator++ (void) |
| Move iterator to next range (if possible). | |
Detailed Description
template<class J>
class Gecode::Iter::Ranges::SingletonAppend< J >
Range iterator for appending a singleton with a range iterator
The singleton is not allowed to be adjacent to the iterator.
Definition at line 47 of file ranges-singleton-append.hpp.
Constructor & Destructor Documentation
| Gecode::Iter::Ranges::SingletonAppend< J >::SingletonAppend | ( | void | ) | [inline] |
Default constructor.
Definition at line 89 of file ranges-singleton-append.hpp.
| Gecode::Iter::Ranges::SingletonAppend< J >::SingletonAppend | ( | int | i0, | |
| int | i1, | |||
| J & | j | |||
| ) | [inline] |
Initialize with singleton (i0, i1) and iterator j.
Definition at line 93 of file ranges-singleton-append.hpp.
Member Function Documentation
| void Gecode::Iter::Ranges::SingletonAppend< J >::init | ( | int | i0, | |
| int | i1, | |||
| J & | j | |||
| ) | [inline] |
Initialize with singleton (i0, i1) and iterator j.
Definition at line 100 of file ranges-singleton-append.hpp.
| void Gecode::Iter::Ranges::SingletonAppend< J >::operator++ | ( | void | ) | [inline] |
Move iterator to next range (if possible).
Definition at line 77 of file ranges-singleton-append.hpp.
Member Data Documentation
J Gecode::Iter::Ranges::SingletonAppend< J >::j [protected] |
Iterator to be appended.
Definition at line 50 of file ranges-singleton-append.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-singleton-append.hpp
