Generated on Sat Aug 25 2012 15:53:13 for Gecode by doxygen 1.7.5
Gecode::Iter::Ranges::ScaleDown Class Reference

Range iterator for pointwise division by a positive integer. More...

#include <ranges-scale.hpp>

List of all members.

Protected Attributes

i
 Iterator to be scaled down.
int a
 Divide by this factor.

Constructors and initialization

 ScaleDown (void)
 Default constructor.
 ScaleDown (I &i, int a)
 Initialize with ranges from i and scale factor a.
void init (I &i, int a)
 Initialize with ranges from i and scale factor a.

Iteration control

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

Detailed Description

Range iterator for pointwise division by a positive integer.


Constructor & Destructor Documentation

Gecode::Iter::Ranges::ScaleDown::ScaleDown ( void  ) [inline]

Default constructor.

Definition at line 219 of file ranges-scale.hpp.

Gecode::Iter::Ranges::ScaleDown::ScaleDown ( I &  i,
int  a 
) [inline]

Initialize with ranges from i and scale factor a.

Definition at line 230 of file ranges-scale.hpp.


Member Function Documentation

void Gecode::Iter::Ranges::ScaleDown::init ( I &  i,
int  a 
) [inline]

Initialize with ranges from i and scale factor a.

Definition at line 223 of file ranges-scale.hpp.

void Gecode::Iter::Ranges::ScaleDown::operator++ ( void  ) [inline]

Move iterator to next range (if possible)

Definition at line 198 of file ranges-scale.hpp.


Member Data Documentation

Iterator to be scaled down.

Definition at line 102 of file ranges-scale.hpp.

Divide by this factor.

Definition at line 104 of file ranges-scale.hpp.


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