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

Range iterator for minus integer views More...

#include <minus.hpp>

Constructors and initialization

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

Range access

int min (void) const
 Return smallest value of range. More...
 
int max (void) const
 Return largest value of range. More...
 

Additional Inherited Members

- Public Member Functions inherited from Gecode::Int::IntVarImpBwd
 IntVarImpBwd (void)
 Default constructor. More...
 
 IntVarImpBwd (const IntVarImp *x)
 Initialize with ranges from variable implementation x. More...
 
void init (const IntVarImp *x)
 Initialize with ranges from variable implementation x. More...
 
bool operator() (void) const
 Test whether iterator is still at a range or done. More...
 
void operator++ (void)
 Move iterator to previous 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 Gecode::Int::ViewRanges< MinusView >

Range iterator for minus integer views

Definition at line 244 of file minus.hpp.

Constructor & Destructor Documentation

Default constructor.

Definition at line 266 of file minus.hpp.

Initialize with ranges for view x.

Definition at line 269 of file minus.hpp.

Member Function Documentation

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

Initialize with ranges for view x.

Definition at line 273 of file minus.hpp.

int Gecode::Int::ViewRanges< MinusView >::min ( void  ) const
inline

Return smallest value of range.

Definition at line 278 of file minus.hpp.

int Gecode::Int::ViewRanges< MinusView >::max ( void  ) const
inline

Return largest value of range.

Definition at line 282 of file minus.hpp.


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