Gecode::Iter::Ranges::Inter< I, J > Class Template Reference
[Range iterators]
Range iterator for computing intersection (binary). More...
#include <ranges-inter.hpp>
Protected Attributes | |
I | i |
First iterator. | |
J | j |
Second iterator. | |
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). |
Detailed Description
template<class I, class J>
class Gecode::Iter::Ranges::Inter< I, J >
Range iterator for computing intersection (binary).
Definition at line 48 of file ranges-inter.hpp.
Constructor & Destructor Documentation
template<class I , class J >
Gecode::Iter::Ranges::Inter< I, J >::Inter | ( | void | ) | [inline] |
Default constructor.
Definition at line 141 of file ranges-inter.hpp.
template<class I , class J >
Gecode::Iter::Ranges::Inter< I, J >::Inter | ( | I & | i, | |
J & | j | |||
) | [inline] |
Initialize with iterator i and j.
Definition at line 145 of file ranges-inter.hpp.
Member Function Documentation
template<class I , class J >
void Gecode::Iter::Ranges::Inter< I, J >::init | ( | I & | i, | |
J & | j | |||
) | [inline] |
Initialize with iterator i and j.
Definition at line 152 of file ranges-inter.hpp.
template<class I , class J >
void Gecode::Iter::Ranges::Inter< I, J >::operator++ | ( | void | ) | [inline] |
Move iterator to next range (if possible).
Definition at line 122 of file ranges-inter.hpp.
Member Data Documentation
template<class I, class J>
I Gecode::Iter::Ranges::Inter< I, J >::i [protected] |
First iterator.
Definition at line 51 of file ranges-inter.hpp.
template<class I, class J>
J Gecode::Iter::Ranges::Inter< I, J >::j [protected] |
Second iterator.
Definition at line 53 of file ranges-inter.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-inter.hpp (Revision: 15120)