Gecode::Iter::Ranges::Diff< I, J > Class Template Reference
[Range iterators]
Inherits Gecode::Iter::Ranges::MinMax.
Inherited by Gecode::Set::UnknownRanges< T >, and Gecode::Set::UnknownRanges< Gecode::Set::SetVarImp * >.
Detailed Description
template<class I, class J>
class Gecode::Iter::Ranges::Diff< I, J >
Range iterator for computing set difference.
Definition at line 47 of file ranges-diff.icc.
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). | |
Protected Attributes | |
| I | i |
| Iterator from which to subtract. | |
| J | j |
| Iterator to be subtracted. | |
Constructor & Destructor Documentation
template<class I, class J>
| Gecode::Iter::Ranges::Diff< I, J >::Diff | ( | void | ) | [inline] |
template<class I, class J>
| Gecode::Iter::Ranges::Diff< I, J >::Diff | ( | I & | i, | |
| J & | j | |||
| ) | [inline] |
Member Function Documentation
template<class I, class J>
| void Gecode::Iter::Ranges::Diff< I, J >::init | ( | I & | i, | |
| J & | j | |||
| ) | [inline] |
template<class I, class J>
| void Gecode::Iter::Ranges::Diff< I, J >::operator++ | ( | void | ) | [inline] |
Member Data Documentation
template<class I, class J>
I Gecode::Iter::Ranges::Diff< I, J >::i [protected] |
template<class I, class J>
J Gecode::Iter::Ranges::Diff< I, J >::j [protected] |
The documentation for this class was generated from the following file:
- gecode/iter/ranges-diff.icc (Revision: 5888)
