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

Range iterator for offset integer views More...

#include <offset.hpp>

Constructors and initialization

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

Additional Inherited Members

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

Detailed Description

Range iterator for offset integer views

Definition at line 284 of file offset.hpp.

Constructor & Destructor Documentation

◆ ViewRanges() [1/2]

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

Default constructor.

Definition at line 299 of file offset.hpp.

◆ ViewRanges() [2/2]

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

Initialize with ranges for view x.

Definition at line 302 of file offset.hpp.

Member Function Documentation

◆ init()

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

Initialize with ranges for view x.

Definition at line 308 of file offset.hpp.


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