Generated on Thu Oct 26 14:26:04 2006 for Gecode by doxygen 1.4.7

Gecode::Iter::Ranges::SubRange< I > Class Template Reference
[Range iterators]

Inherits Gecode::Iter::Ranges::AddRange< I >< I >.

List of all members.


Detailed Description

template<class I>
class Gecode::Iter::Ranges::SubRange< I >

Range iterator for subtracting a single range from a range iterator.

Requires

 #include "gecode/iter.hh" 

Definition at line 65 of file ranges-add.icc.

Constructors and initialization

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


Constructor & Destructor Documentation

template<class I>
Gecode::Iter::Ranges::SubRange< I >::SubRange ( void   )  [inline]

Default constructor.

Definition at line 114 of file ranges-add.icc.

template<class I>
Gecode::Iter::Ranges::SubRange< I >::SubRange ( I &  i,
int  min,
int  max 
) [inline]

Initialize with ranges i and range min to max.

Definition at line 118 of file ranges-add.icc.


Member Function Documentation

template<class I>
void Gecode::Iter::Ranges::SubRange< I >::init ( I &  i,
int  min,
int  max 
) [inline]

Initialize with ranges i and range min to max.

Reimplemented from Gecode::Iter::Ranges::AddRange< I >.

Definition at line 123 of file ranges-add.icc.


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