Generated on Wed Nov 1 15:05:21 2006 for Gecode by doxygen 1.4.5

Gecode::Iter::Ranges::Singleton Class Reference
[Range iterators]

Inherits Gecode::Iter::Ranges::MinMax.

Inherited by Gecode::Set::GlbRanges< UniverseView >, and Gecode::Set::LubRanges< UniverseView >.

List of all members.


Detailed Description

Range iterator for singleton range.

Requires

 #include "gecode/iter.hh" 

Definition at line 31 of file ranges-singleton.icc.

Constructors and initialization

 Singleton (void)
 Default constructor.
 Singleton (int min, int max)
 Initialize with range min to max.
void init (int min, int max)
 Initialize with range min to max.

Iteration control

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


Constructor & Destructor Documentation

Gecode::Iter::Ranges::Singleton::Singleton void   )  [inline]
 

Default constructor.

Definition at line 52 of file ranges-singleton.icc.

Gecode::Iter::Ranges::Singleton::Singleton int  min,
int  max
[inline]
 

Initialize with range min to max.

Definition at line 55 of file ranges-singleton.icc.


Member Function Documentation

void Gecode::Iter::Ranges::Singleton::init int  min,
int  max
[inline]
 

Initialize with range min to max.

Definition at line 59 of file ranges-singleton.icc.

void Gecode::Iter::Ranges::Singleton::operator++ void   )  [inline]
 

Move iterator to next range (if possible).

Definition at line 64 of file ranges-singleton.icc.


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