Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

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

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

Inherited by Gecode::Int::ViewRanges< BoolView >, Gecode::Int::ViewRanges< NegBoolView >, Gecode::Set::GlbRanges< UniverseView >, and Gecode::Set::LubRanges< UniverseView >.

List of all members.


Detailed Description

Range iterator for singleton range.

Definition at line 46 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 67 of file ranges-singleton.icc.

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

Initialize with range min to max.

Definition at line 70 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 74 of file ranges-singleton.icc.

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

Move iterator to next range (if possible).

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


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