Generated on Tue Sep 25 2012 20:53:32 for Gecode by doxygen 1.7.5
Gecode::Iter::Values::ToRanges Class Reference

Range iterator from value iterator. More...

#include <values-ranges.hpp>

List of all members.

Protected Attributes

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)

Detailed Description

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.


Constructor & Destructor Documentation

Gecode::Iter::Values::ToRanges::ToRanges ( void  ) [inline]

Default constructor.

Definition at line 74 of file values-ranges.hpp.

Gecode::Iter::Values::ToRanges::ToRanges ( I &  i) [inline]

Initialize with value iterator i.

Definition at line 91 of file values-ranges.hpp.


Member Function Documentation

void Gecode::Iter::Values::ToRanges::init ( I &  i) [inline]

Initialize with value iterator i.

Definition at line 98 of file values-ranges.hpp.

void Gecode::Iter::Values::ToRanges::operator++ ( void  ) [inline]

Move iterator to next range (if possible)

Definition at line 78 of file values-ranges.hpp.


Member Data Documentation

Value iterator used.

Definition at line 53 of file values-ranges.hpp.


The documentation for this class was generated from the following file: