Generated on Thu Mar 22 10:39:59 2012 for Gecode by doxygen 1.6.3

Gecode::Iter::Values::Minus Class Reference
[Value iterators]

Value iterator for pointwise minus of a value iterator. More...

#include <values-minus.hpp>

List of all members.

Constructors and initialization



 Minus (void)
 Default constructor.
 Minus (const Minus &m)
 Copy constructor.
template<class I >
 Minus (Region &r, I &i)
 Initialize with values from i.
template<class I >
void init (Region &r, I &i)
 Initialize with values from i.
Minusoperator= (const Minus &m)
 Assignment operator.

Detailed Description

Value iterator for pointwise minus of a value iterator.

This iterator in effect changes the order of how values are iterated: the first values of the input iterator defines the last value of the Minus iterator. Upon initialization all values of the input iterator are stored in an array which later allows iteration in inverse direction.

Definition at line 51 of file values-minus.hpp.


Constructor & Destructor Documentation

Gecode::Iter::Values::Minus::Minus ( void   )  [inline]

Default constructor.

Definition at line 72 of file values-minus.hpp.

Gecode::Iter::Values::Minus::Minus ( const Minus m  )  [inline]

Copy constructor.

Definition at line 75 of file values-minus.hpp.

template<class I >
Gecode::Iter::Values::Minus::Minus ( Region r,
I &  i 
) [inline]

Initialize with values from i.

Definition at line 94 of file values-minus.hpp.


Member Function Documentation

template<class I >
void Gecode::Iter::Values::Minus::init ( Region r,
I &  i 
) [inline]

Initialize with values from i.

Definition at line 80 of file values-minus.hpp.

Minus & Gecode::Iter::Values::Minus::operator= ( const Minus m  )  [inline]

Assignment operator.

Definition at line 99 of file values-minus.hpp.


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