Generated on Sat Feb 7 2015 02:01:45 for Gecode by doxygen 1.8.9.1
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. More...
 
 ViewRanges (const CachedView< View > &x)
 Initialize with ranges for view x. More...
 
void init (const CachedView< View > &x)
 Initialize with ranges for view x. More...
 

Additional Inherited Members

- Public Member Functions inherited from Gecode::Int::ViewRanges< View >
 ViewRanges (void)
 Default constructor. More...
 
 ViewRanges (const View &x)
 Initialize with ranges for view x. More...
 
void init (const View &x)
 Initialize with ranges for view x. 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...
 
int min (void) const
 Return smallest value of range. More...
 
int max (void) const
 Return largest value of range. More...
 
unsigned int width (void) const
 Return width of range (distance between minimum and maximum) More...
 

Detailed Description

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

Range iterator for offset integer views

Definition at line 334 of file cached.hpp.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 350 of file cached.hpp.

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

Initialize with ranges for view x.

Definition at line 354 of file cached.hpp.

Member Function Documentation

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

Initialize with ranges for view x.

Definition at line 360 of file cached.hpp.


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