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

Gecode::Iter::Ranges::Inter< I, J > Class Template Reference
[Range iterators]

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

List of all members.


Detailed Description

template<class I, class J>
class Gecode::Iter::Ranges::Inter< I, J >

Range iterator for computing intersection (binary).

Requires

 #include "gecode/iter.hh" 

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

Constructors and initialization

 Inter (void)
 Default constructor.
 Inter (I &i, J &j)
 Initialize with iterator i and j.
void init (I &i, J &j)
 Initialize with iterator i and j.

Iteration control

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

Protected Attributes

i
 First iterator.
j
 Second iterator.


Constructor & Destructor Documentation

template<class I, class J>
Gecode::Iter::Ranges::Inter< I, J >::Inter void   )  [inline]
 

Default constructor.

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

template<class I, class J>
Gecode::Iter::Ranges::Inter< I, J >::Inter I &  i,
J &  j
[inline]
 

Initialize with iterator i and j.

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


Member Function Documentation

template<class I, class J>
void Gecode::Iter::Ranges::Inter< I, J >::init I &  i,
J &  j
[inline]
 

Initialize with iterator i and j.

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

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

Move iterator to next range (if possible).

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


Member Data Documentation

template<class I, class J>
I Gecode::Iter::Ranges::Inter< I, J >::i [protected]
 

First iterator.

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

template<class I, class J>
J Gecode::Iter::Ranges::Inter< I, J >::j [protected]
 

Second iterator.

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


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