Range iterator from value iterator. More...
#include <values-ranges.hpp>
Protected Attributes | |
I | i |
Value iterator used. | |
Constructors and initialization | |
ToRanges (void) | |
Default constructor. | |
ToRanges (I &i) | |
Initialize with value iterator i. | |
void | init (I &i) |
Initialize with value iterator i. | |
Iteration control | |
void | operator++ (void) |
Move iterator to next range (if possible) |
Range iterator from value iterator.
The iterator only requires that the value iterator iterates values in increasing order. Duplicates in the iterated value sequence are okay.
Definition at line 50 of file values-ranges.hpp.
Gecode::Iter::Values::ToRanges< I >::ToRanges | ( | void | ) | [inline] |
Default constructor.
Definition at line 74 of file values-ranges.hpp.
Gecode::Iter::Values::ToRanges< I >::ToRanges | ( | I & | i | ) | [inline] |
Initialize with value iterator i.
Definition at line 91 of file values-ranges.hpp.
void Gecode::Iter::Values::ToRanges< I >::init | ( | I & | i | ) | [inline] |
Initialize with value iterator i.
Definition at line 98 of file values-ranges.hpp.
void Gecode::Iter::Values::ToRanges< I >::operator++ | ( | void | ) | [inline] |
Move iterator to next range (if possible)
Definition at line 78 of file values-ranges.hpp.
I Gecode::Iter::Values::ToRanges< I >::i [protected] |
Value iterator used.
Definition at line 53 of file values-ranges.hpp.