Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0

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

#include <scale.hpp>

Constructors and initialization

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

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

Detailed Description

Range iterator for long long int-precision scale integer views

Definition at line 288 of file scale.hpp.

Constructor & Destructor Documentation

◆ ViewRanges() [1/2]

Gecode::Int::ViewRanges< LLongScaleView >::ViewRanges ( void )
inline

Default constructor.

Definition at line 304 of file scale.hpp.

◆ ViewRanges() [2/2]

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

Initialize with ranges for view x.

Definition at line 306 of file scale.hpp.

Member Function Documentation

◆ init()

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

Initialize with ranges for view x.

Definition at line 312 of file scale.hpp.


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