Gecode::Iter::Ranges::Union< I, J > Class Template Reference
[Range iterators]
Range iterator for computing union (binary). More...
#include <ranges-union.hpp>
Protected Attributes | |
| I | i |
| First iterator. | |
| J | j |
| Second iterator. | |
Constructors and initialization | |
|
| |
| Union (void) | |
| Default constructor. | |
| Union (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::Union< I, J >
Range iterator for computing union (binary).
Definition at line 44 of file ranges-union.hpp.
Constructor & Destructor Documentation
template<class I , class J >
| Gecode::Iter::Ranges::Union< I, J >::Union | ( | void | ) | [inline] |
Default constructor.
Definition at line 155 of file ranges-union.hpp.
template<class I , class J >
| Gecode::Iter::Ranges::Union< I, J >::Union | ( | I & | i, | |
| J & | j | |||
| ) | [inline] |
Initialize with iterator i and j.
Definition at line 159 of file ranges-union.hpp.
Member Function Documentation
template<class I , class J >
| void Gecode::Iter::Ranges::Union< I, J >::init | ( | I & | i, | |
| J & | j | |||
| ) | [inline] |
Initialize with iterator i and j.
Definition at line 166 of file ranges-union.hpp.
template<class I , class J >
| void Gecode::Iter::Ranges::Union< I, J >::operator++ | ( | void | ) | [inline] |
Move iterator to next range (if possible).
Definition at line 124 of file ranges-union.hpp.
Member Data Documentation
template<class I, class J>
I Gecode::Iter::Ranges::Union< I, J >::i [protected] |
First iterator.
Definition at line 47 of file ranges-union.hpp.
template<class I, class J>
J Gecode::Iter::Ranges::Union< I, J >::j [protected] |
Second iterator.
Definition at line 49 of file ranges-union.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-union.hpp
