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

Range iterator for offset integer views More...

#include <offset.hpp>

Constructors and initialization

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

Additional Inherited Members

- Public Member Functions inherited from Gecode::Iter::Ranges::Offset< ViewRanges< IntView > >
 Offset (void)
 Default constructor. More...
 
 Offset (ViewRanges< IntView > &i, int c)
 Initialize with ranges from i and offset c. More...
 
void init (ViewRanges< IntView > &i, int c)
 Initialize with ranges from i and offset c. 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...
 
- Protected Attributes inherited from Gecode::Iter::Ranges::Offset< ViewRanges< IntView > >
ViewRanges< IntViewi
 Input range. More...
 
int c
 Offset for ranges. More...
 

Detailed Description

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

Range iterator for offset integer views

Definition at line 263 of file offset.hpp.

Constructor & Destructor Documentation

Default constructor.

Definition at line 278 of file offset.hpp.

Initialize with ranges for view x.

Definition at line 281 of file offset.hpp.

Member Function Documentation

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

Initialize with ranges for view x.

Definition at line 287 of file offset.hpp.


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