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

Range iterator for adding a single range to a range iterator. More...

#include <ranges-add.hpp>

List of all members.

Protected Attributes

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.

Constructors and initialization

 AddRange (void)
 Default constructor.
 AddRange (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.

Iteration control

void operator++ (void)
 Move iterator to next range (if possible)

Detailed Description

Range iterator for adding a single range to a range iterator.


Constructor & Destructor Documentation

Gecode::Iter::Ranges::AddRange::AddRange ( void  ) [inline]

Default constructor.

Definition at line 94 of file ranges-add.hpp.

Gecode::Iter::Ranges::AddRange::AddRange ( I &  i,
int  min,
int  max 
) [inline]

Initialize with ranges i and range min to max.

Definition at line 113 of file ranges-add.hpp.


Member Function Documentation

void Gecode::Iter::Ranges::AddRange::init ( I &  i,
int  min,
int  max 
) [inline]

Initialize with ranges i and range min to max.

Reimplemented in Gecode::Iter::Ranges::SubRange.

Definition at line 120 of file ranges-add.hpp.

void Gecode::Iter::Ranges::AddRange::operator++ ( void  ) [inline]

Move iterator to next range (if possible)

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


Member Data Documentation

Iterator to which the range is to be added.

Definition at line 49 of file ranges-add.hpp.

Minimum of range to be added.

Definition at line 51 of file ranges-add.hpp.

Maximum of range to be added.

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


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