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

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

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

List of all members.


Detailed Description

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

Range iterator for union for any number of iterators.

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

Constructors and initialization

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

RangeUnionOrder order
 Instance for order.
Support::PQueue< I, RangeUnionOrderr
 Priority queue to give access to next range.

Classes

class  RangeUnionOrder
 Order for iterators: by increasing minimum of next range. More...


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 186 of file ranges-union.icc.

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

Initialize with n iterators in i.

Definition at line 190 of file ranges-union.icc.


Member Function Documentation

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

Initialize with n iterators in i.

Definition at line 200 of file ranges-union.icc.

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

Move iterator to next range (if possible).

Definition at line 163 of file ranges-union.icc.


Member Data Documentation

template<class I>
RangeUnionOrder Gecode::Iter::Ranges::NaryUnion< I >::order [protected]
 

Instance for order.

Definition at line 72 of file ranges-union.icc.

template<class I>
Support::PQueue<I,RangeUnionOrder> Gecode::Iter::Ranges::NaryUnion< I >::r [protected]
 

Priority queue to give access to next range.

Definition at line 74 of file ranges-union.icc.


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