Gecode::Iter::Ranges::Diff< I, J > Class Template Reference
[Range iterators]
Inherits Gecode::Iter::Ranges::MinMax.
Detailed Description
template<class I, class J>
class Gecode::Iter::Ranges::Diff< I, J >
Range iterator for computing set difference.
Requires
#include "gecode/iter.hh"
Definition at line 32 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
|
Default constructor.
Definition at line 98 of file ranges-diff.icc. |
|
Initialize with iterator i and j.
Definition at line 102 of file ranges-diff.icc. |
Member Function Documentation
|
Initialize with iterator i and j.
Definition at line 114 of file ranges-diff.icc. |
|
Move iterator to next range (if possible).
Definition at line 60 of file ranges-diff.icc. |
Member Data Documentation
|
Iterator from which to subtract.
Definition at line 35 of file ranges-diff.icc. |
|
Iterator to be subtracted.
Definition at line 37 of file ranges-diff.icc. |
The documentation for this class was generated from the following file:
- gecode/iter/ranges-diff.icc (Revision: 3515)