Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0
Gecode::Int::ViewRanges< CachedView< View > > Class Template Reference

Range iterator for offset integer views More...

#include <cached.hpp>

Constructors and initialization

 ViewRanges (void)
 Default constructor.
 
 ViewRanges (const CachedView< View > &x)
 Initialize with ranges for view x.
 
void init (const CachedView< View > &x)
 Initialize with ranges for view x.
 

Additional Inherited Members

- Public Member Functions inherited from Gecode::Int::ViewRanges< View >
 ViewRanges (void)
 Default constructor.
 
 ViewRanges (const View &x)
 Initialize with ranges for view x.
 
void init (const View &x)
 Initialize with ranges for view x.
 
bool operator() (void) const
 Test whether iterator is still at a range or done.
 
void operator++ (void)
 Move iterator to next range (if possible)
 
int min (void) const
 Return smallest value of range.
 
int max (void) const
 Return largest value of range.
 
unsigned int width (void) const
 Return width of range (distance between minimum and maximum)
 

Detailed Description

template<class View>
class Gecode::Int::ViewRanges< CachedView< View > >

Range iterator for offset integer views

Definition at line 346 of file cached.hpp.

Constructor & Destructor Documentation

◆ ViewRanges() [1/2]

template<class View >
Gecode::Int::ViewRanges< CachedView< View > >::ViewRanges ( void )
inline

Default constructor.

Definition at line 362 of file cached.hpp.

◆ ViewRanges() [2/2]

template<class View >
Gecode::Int::ViewRanges< CachedView< View > >::ViewRanges ( const CachedView< View > & x)
inline

Initialize with ranges for view x.

Definition at line 366 of file cached.hpp.

Member Function Documentation

◆ init()

template<class View >
void Gecode::Int::ViewRanges< CachedView< View > >::init ( const CachedView< View > & x)
inline

Initialize with ranges for view x.

Definition at line 372 of file cached.hpp.


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