Gecode::Iter::Ranges::AddRange< I > Class Template Reference
[Range iterators]
Inherits Gecode::Iter::Ranges::MinMax.
Inherited by Gecode::Iter::Ranges::SubRange< I >.
Detailed Description
template<class I>
class Gecode::Iter::Ranges::AddRange< I >
Range iterator for adding a single range to a range iterator.
Requires
#include "gecode/iter.hh"
Definition at line 31 of file ranges-add.icc.
Constructors and initialization | |
AddRange (void) | |
Default constructor. | |
AddRange (I &i, int min, int max) | |
Initialize with ranges i and range min to max. | |
void | init (I &i, int min, int max) |
Initialize with ranges i and range min to max. | |
Iteration control | |
void | operator++ (void) |
Move iterator to next range (if possible). | |
Protected Attributes | |
I | i |
Iterator to which the range is to be added. | |
int | r_min |
Minimum of range to be added. | |
int | r_max |
Maximum of range to be added. |
Constructor & Destructor Documentation
|
Default constructor.
Definition at line 80 of file ranges-add.icc. |
|
Initialize with ranges i and range min to max.
Definition at line 99 of file ranges-add.icc. |
Member Function Documentation
|
Initialize with ranges i and range min to max.
Reimplemented in Gecode::Iter::Ranges::SubRange< I >. Definition at line 106 of file ranges-add.icc. |
|
Move iterator to next range (if possible).
Definition at line 84 of file ranges-add.icc. |
Member Data Documentation
|
Iterator to which the range is to be added.
Definition at line 34 of file ranges-add.icc. |
|
Minimum of range to be added.
Definition at line 36 of file ranges-add.icc. |
|
Maximum of range to be added.
Definition at line 38 of file ranges-add.icc. |
The documentation for this class was generated from the following file:
- gecode/iter/ranges-add.icc (Revision: 3515)