
Range iterator for computing union (binary) More...
#include <ranges-union.hpp>
Protected Attributes | |
| I | i |
| First iterator. More... | |
| J | j |
| Second iterator. More... | |
Protected Attributes inherited from Gecode::Iter::Ranges::MinMax | |
| int | mi |
| Minimum of current range. More... | |
| int | ma |
| Maximum of current range. More... | |
Constructors and initialization | |
| Union (void) | |
| Default constructor. More... | |
| Union (I &i, J &j) | |
| Initialize with iterator i and j. More... | |
| void | init (I &i, J &j) |
| Initialize with iterator i and j. More... | |
Iteration control | |
| void | operator++ (void) |
| Move iterator to next range (if possible) More... | |
Additional Inherited Members | |
Public Member Functions inherited from Gecode::Iter::Ranges::MinMax | |
| MinMax (void) | |
| Default constructor. More... | |
| MinMax (int min, int max) | |
| Initialize with range min to max. More... | |
| bool | operator() (void) const |
| Test whether iterator is still at a range or done. More... | |
| int | min (void) const |
| Return smallest value of range. More... | |
| int | max (void) const |
| Return largest value of range. More... | |
| unsigned int | width (void) const |
| Return width of range (distance between minimum and maximum) More... | |
Protected Member Functions inherited from Gecode::Iter::Ranges::MinMax | |
| void | finish (void) |
| Set range such that iteration stops More... | |
Range iterator for computing union (binary)
Definition at line 48 of file ranges-union.hpp.
|
inline |
Default constructor.
Definition at line 159 of file ranges-union.hpp.
|
inline |
Initialize with iterator i and j.
Definition at line 163 of file ranges-union.hpp.
|
inline |
Initialize with iterator i and j.
Definition at line 170 of file ranges-union.hpp.
|
inline |
Move iterator to next range (if possible)
Definition at line 128 of file ranges-union.hpp.
|
protected |
First iterator.
Definition at line 51 of file ranges-union.hpp.
|
protected |
Second iterator.
Definition at line 53 of file ranges-union.hpp.