Generated on Sat Feb 7 2015 02:01:40 for Gecode by doxygen 1.8.9.1

Value iterator for integer variables. More...

#include <int.hh>

Constructors and initialization

 IntVarValues (void)
 Default constructor. More...
 
 IntVarValues (const IntVar &x)
 Initialize with values for x. More...
 
void init (const IntVar &x)
 Initialize with values x. More...
 

Additional Inherited Members

- Public Member Functions inherited from Gecode::Iter::Ranges::ToValues< IntVarRanges >
 ToValues (void)
 Default constructor. More...
 
 ToValues (IntVarRanges &i)
 Initialize with values from range iterator i. More...
 
void init (IntVarRanges &i)
 Initialize with values from range iterator i. More...
 
bool operator() (void) const
 Test whether iterator is still at a value or done. More...
 
void operator++ (void)
 Move iterator to next value (if possible) More...
 
int val (void) const
 Return current value. More...
 
- Protected Member Functions inherited from Gecode::Iter::Ranges::ToValues< IntVarRanges >
void start (void)
 Initialize iterator. More...
 
- Protected Attributes inherited from Gecode::Iter::Ranges::ToValues< IntVarRanges >
IntVarRanges i
 Range iterator used. More...
 
int cur
 Current value. More...
 
int max
 End of current range. More...
 

Detailed Description

Value iterator for integer variables.

Definition at line 469 of file int.hh.

Constructor & Destructor Documentation

Gecode::IntVarValues::IntVarValues ( void  )
inline

Default constructor.

Definition at line 128 of file int.hpp.

Gecode::IntVarValues::IntVarValues ( const IntVar x)
inline

Initialize with values for x.

Definition at line 131 of file int.hpp.

Member Function Documentation

void Gecode::IntVarValues::init ( const IntVar x)
inline

Initialize with values x.

Definition at line 137 of file int.hpp.


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