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

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 77 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,
RangeUnionOrder
r
 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 199 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 203 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 213 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 176 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 85 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 87 of file ranges-union.icc.


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