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

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

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

List of all members.


Detailed Description

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

Range iterator for intersection for any number of iterators.

Requires

 #include "gecode/iter.hh" 

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

Constructors and initialization

 NaryInter (void)
 Default constructor.
 NaryInter (I *i, int n)
 Initialize with n iterators in i.
void init (I *i, int n)
 Initialize with n iterators in i.

Iteration control

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

Protected Attributes

I * is
 Array of iterators.
int n
 Number of iterators.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 173 of file ranges-inter.icc.

template<class I>
Gecode::Iter::Ranges::NaryInter< I >::NaryInter I *  i,
int  n
[inline]
 

Initialize with n iterators in i.

Definition at line 177 of file ranges-inter.icc.


Member Function Documentation

template<class I>
void Gecode::Iter::Ranges::NaryInter< I >::init I *  i,
int  n
[inline]
 

Initialize with n iterators in i.

Definition at line 189 of file ranges-inter.icc.

template<class I>
void Gecode::Iter::Ranges::NaryInter< I >::operator++ void   )  [inline]
 

Move iterator to next range (if possible).

Definition at line 140 of file ranges-inter.icc.


Member Data Documentation

template<class I>
I* Gecode::Iter::Ranges::NaryInter< I >::is [protected]
 

Array of iterators.

Definition at line 68 of file ranges-inter.icc.

template<class I>
int Gecode::Iter::Ranges::NaryInter< I >::n [protected]
 

Number of iterators.

Definition at line 70 of file ranges-inter.icc.


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