Gecode::Iter::Ranges::Diff< I, J > Class Template Reference
[Range iterators]
Range iterator for computing set difference. More...
#include <ranges-diff.hpp>
Protected Attributes | |
| I | i |
| Iterator from which to subtract. | |
| J | j |
| Iterator to be subtracted. | |
Constructors and initialization | |
|
| |
| Diff (void) | |
| Default constructor. | |
| Diff (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::Diff< I, J >
Range iterator for computing set difference.
Definition at line 43 of file ranges-diff.hpp.
Constructor & Destructor Documentation
template<class I , class J >
| Gecode::Iter::Ranges::Diff< I, J >::Diff | ( | void | ) | [inline] |
Default constructor.
Definition at line 109 of file ranges-diff.hpp.
template<class I, class J>
| Gecode::Iter::Ranges::Diff< I, J >::Diff | ( | I & | i, | |
| J & | j | |||
| ) | [inline] |
Initialize with iterator i and j.
Definition at line 113 of file ranges-diff.hpp.
Member Function Documentation
template<class I, class J>
| void Gecode::Iter::Ranges::Diff< I, J >::init | ( | I & | i, | |
| J & | j | |||
| ) | [inline] |
Initialize with iterator i and j.
Definition at line 125 of file ranges-diff.hpp.
template<class I , class J >
| void Gecode::Iter::Ranges::Diff< I, J >::operator++ | ( | void | ) | [inline] |
Move iterator to next range (if possible).
Definition at line 71 of file ranges-diff.hpp.
Member Data Documentation
template<class I, class J>
I Gecode::Iter::Ranges::Diff< I, J >::i [protected] |
Iterator from which to subtract.
Definition at line 46 of file ranges-diff.hpp.
template<class I, class J>
J Gecode::Iter::Ranges::Diff< I, J >::j [protected] |
Iterator to be subtracted.
Definition at line 48 of file ranges-diff.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-diff.hpp
