
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... | |
|
inline |
|
inline |
|
inline |