Range iterator for subtracting a single range from a range iterator. More...
#include <ranges-add.hpp>
Constructors and initialization | |
SubRange (void) | |
Default constructor. | |
SubRange (I &i, int min, int max) | |
Initialize with ranges i and range min to max. | |
void | init (I &i, int min, int max) |
Initialize with ranges i and range min to max. |
Additional Inherited Members | |
![]() | |
AddRange (void) | |
Default constructor. | |
AddRange (I &i, int min, int max) | |
Initialize with ranges i and range min to max. | |
void | operator++ (void) |
Move iterator to next range (if possible) | |
![]() | |
I | i |
Iterator to which the range is to be added. | |
int | r_min |
Minimum of range to be added. | |
int | r_max |
Maximum of range to be added. | |
![]() | |
int | mi |
Minimum of current range. | |
int | ma |
Maximum of current range. |
Range iterator for subtracting a single range from a range iterator.
Definition at line 79 of file ranges-add.hpp.
|
inline |
Default constructor.
Definition at line 128 of file ranges-add.hpp.
|
inline |
Initialize with ranges i and range min to max.
Definition at line 132 of file ranges-add.hpp.
|
inline |
Initialize with ranges i and range min to max.
Reimplemented from Gecode::Iter::Ranges::AddRange< I >.
Definition at line 137 of file ranges-add.hpp.