Gecode::Iter::Ranges::NaryAppend< I > Class Template Reference
[Range iterators]
Inherits Gecode::Iter::Ranges::MinMax.
Detailed Description
template<class I>
class Gecode::Iter::Ranges::NaryAppend< I >
Range iterator for appending arbitrarily many iterators.
The iterators are allowed to be adjacent but not to overlap (in this case, use Gecode::Iter::NaryUnion)
Requires
#include "gecode/iter.hh"
Definition at line 71 of file ranges-append.icc.
Constructors and initialization | |
| NaryAppend (void) | |
| Default constructor. | |
| NaryAppend (I *i, unsigned int n) | |
| Initialize with n iterators in i. | |
| void | init (I *i, unsigned int n) |
| Initialize with n iterators in i. | |
Iteration control | |
| void | operator++ (void) |
| Move iterator to next range (if possible). | |
Protected Attributes | |
| I * | r |
| The array of iterators to be appended. | |
| unsigned int | n |
| Number of iterators. | |
| unsigned int | active |
| Number of current iterator being processed. | |
Constructor & Destructor Documentation
|
||||||||||
|
Default constructor.
Definition at line 177 of file ranges-append.icc. |
|
||||||||||||||||
|
Initialize with n iterators in i.
Definition at line 181 of file ranges-append.icc. |
Member Function Documentation
|
||||||||||||||||
|
Initialize with n iterators in i.
Definition at line 194 of file ranges-append.icc. |
|
||||||||||
|
Move iterator to next range (if possible).
Definition at line 154 of file ranges-append.icc. |
Member Data Documentation
|
|||||
|
The array of iterators to be appended.
Definition at line 74 of file ranges-append.icc. |
|
|||||
|
Number of iterators.
Definition at line 76 of file ranges-append.icc. |
|
|||||
|
Number of current iterator being processed.
Definition at line 78 of file ranges-append.icc. |
The documentation for this class was generated from the following file:
- gecode/iter/ranges-append.icc (Revision: 3515)
