Gecode::Iter::Ranges::Inter< I, J > Class Template Reference
[Range iterators]
Inherits Gecode::Iter::Ranges::MinMax.
Detailed Description
template<class I, class J>
class Gecode::Iter::Ranges::Inter< I, J >
Range iterator for computing intersection (binary).
Requires
#include "gecode/iter.hh"
Definition at line 33 of file ranges-inter.icc.
Constructors and initialization | |
Inter (void) | |
Default constructor. | |
Inter (I &i, J &j) | |
Initialize with iterator i and j. | |
void | init (I &i, J &j) |
Initialize with iterator i and j. | |
Iteration control | |
void | operator++ (void) |
Move iterator to next range (if possible). | |
Protected Attributes | |
I | i |
First iterator. | |
J | j |
Second iterator. |
Constructor & Destructor Documentation
|
Default constructor.
Definition at line 116 of file ranges-inter.icc. |
|
Initialize with iterator i and j.
Definition at line 120 of file ranges-inter.icc. |
Member Function Documentation
|
Initialize with iterator i and j.
Definition at line 127 of file ranges-inter.icc. |
|
Move iterator to next range (if possible).
Definition at line 97 of file ranges-inter.icc. |
Member Data Documentation
|
First iterator.
Definition at line 36 of file ranges-inter.icc. |
|
Second iterator.
Definition at line 38 of file ranges-inter.icc. |
The documentation for this class was generated from the following file:
- gecode/iter/ranges-inter.icc (Revision: 3515)