Generated on Sat Feb 7 2015 02:01:45 for Gecode by doxygen 1.8.9.1
Gecode::Int::ViewRanges< LLongScaleView > Class Template Reference

Range iterator for long long int-precision scale integer views More...

#include <scale.hpp>

Constructors and initialization

 ViewRanges (void)
 Default constructor. More...
 
 ViewRanges (const LLongScaleView &x)
 Initialize with ranges for view x. More...
 
void init (const LLongScaleView &x)
 Initialize with ranges for view x. More...
 

Additional Inherited Members

- Public Member Functions inherited from Gecode::Iter::Ranges::ScaleUp< long long int, unsigned long long int, ViewRanges< IntView > >
 ScaleUp (void)
 Default constructor. More...
 
 ScaleUp (ViewRanges< IntView > &i, int a)
 Initialize with ranges from i and scale factor a. More...
 
void init (ViewRanges< IntView > &i, int a)
 Initialize with ranges from i and scale factor a. More...
 
bool operator() (void) const
 Test whether iterator is still at a range or done. More...
 
void operator++ (void)
 Move iterator to next range (if possible) More...
 
long long int min (void) const
 Return smallest value of range. More...
 
long long int max (void) const
 Return largest value of range. More...
 
unsigned long long int width (void) const
 Return width of range (distance between minimum and maximum) More...
 
- Protected Attributes inherited from Gecode::Iter::Ranges::ScaleUp< long long int, unsigned long long int, ViewRanges< IntView > >
ViewRanges< IntViewi
 Iterator to be scaled. More...
 
int a
 Scale-factor. More...
 
long long int cur
 Current value of range. More...
 
long long int end
 Last value of scaled range of i. More...
 

Detailed Description

template<>
class Gecode::Int::ViewRanges< LLongScaleView >

Range iterator for long long int-precision scale integer views

Definition at line 264 of file scale.hpp.

Constructor & Destructor Documentation

Default constructor.

Definition at line 280 of file scale.hpp.

Initialize with ranges for view x.

Definition at line 282 of file scale.hpp.

Member Function Documentation

void Gecode::Int::ViewRanges< LLongScaleView >::init ( const LLongScaleView x)
inline

Initialize with ranges for view x.

Definition at line 288 of file scale.hpp.


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