Gecode::Iter::Ranges::Minus Class Reference
[Range iterators]
Range iterator for pointwise minus of a range iterator. More...
#include <ranges-minus.hpp>
Constructors and initialization | |
| |
Minus (void) | |
Default constructor. | |
Minus (const Minus &m) | |
Copy constructor. | |
template<class I > | |
Minus (Region &r, I &i) | |
Initialize with ranges from i. | |
template<class I > | |
void | init (Region &r, I &i) |
Initialize with ranges from i. | |
Minus & | operator= (const Minus &m) |
Assignment operator. |
Detailed Description
Range iterator for pointwise minus of a range iterator.
This iterator in effect changes the order of how ranges are iterated: the first range of the input iterator defines the last range of the Minus iterator. Upon initialization all ranges of the input iterator are stored which later allows iteration in inverse direction.
Definition at line 51 of file ranges-minus.hpp.
Constructor & Destructor Documentation
Gecode::Iter::Ranges::Minus::Minus | ( | void | ) | [inline] |
Default constructor.
Definition at line 72 of file ranges-minus.hpp.
Gecode::Iter::Ranges::Minus::Minus | ( | const Minus & | m | ) | [inline] |
Copy constructor.
Definition at line 75 of file ranges-minus.hpp.
Gecode::Iter::Ranges::Minus::Minus | ( | Region & | r, | |
I & | i | |||
) | [inline] |
Initialize with ranges from i.
Definition at line 95 of file ranges-minus.hpp.
Member Function Documentation
void Gecode::Iter::Ranges::Minus::init | ( | Region & | r, | |
I & | i | |||
) | [inline] |
Initialize with ranges from i.
Definition at line 80 of file ranges-minus.hpp.
Assignment operator.
Definition at line 100 of file ranges-minus.hpp.
The documentation for this class was generated from the following file:
- gecode/iter/ranges-minus.hpp (Revision: 12253)