Generated on Thu Jan 20 2022 00:00:00 for Gecode by doxygen 1.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 490 of file int.hh.

Constructor & Destructor Documentation

◆ IntVarValues() [1/2]

Gecode::IntVarValues::IntVarValues ( void  )
inline

Default constructor.

Definition at line 124 of file int.hpp.

◆ IntVarValues() [2/2]

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

Initialize with values for x.

Definition at line 127 of file int.hpp.

Member Function Documentation

◆ init()

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

Initialize with values x.

Definition at line 133 of file int.hpp.


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