Value iterator for integer variables.
More...
#include <int.hh>
|
| | ToValues (void) |
| | Default constructor.
|
| |
| | ToValues (IntVarRanges &i) |
| | Initialize with values from range iterator i.
|
| |
| void | init (IntVarRanges &i) |
| | Initialize with values from range iterator i.
|
| |
| bool | operator() (void) const |
| | Test whether iterator is still at a value or done.
|
| |
| void | operator++ (void) |
| | Move iterator to next value (if possible)
|
| |
| int | val (void) const |
| | Return current value.
|
| |
| void | start (void) |
| | Initialize iterator.
|
| |
| IntVarRanges | i |
| | Range iterator used.
|
| |
| int | cur |
| | Current value.
|
| |
| int | max |
| | End of current range.
|
| |
Value iterator for integer variables.
Definition at line 493 of file int.hh.
◆ 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.
◆ 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: