Value iterator for integer sets. More...
#include <int.hh>
Constructors and initialization | |
IntSetValues (void) | |
Default constructor. | |
IntSetValues (const IntSet &s) | |
Initialize with values for s. | |
void | init (const IntSet &s) |
Initialize with values for s. |
Additional Inherited Members | |
ToValues (void) | |
Default constructor. | |
void | init (IntSetRanges &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. | |
Protected Member Functions inherited from Gecode::Iter::Ranges::ToValues< IntSetRanges > | |
void | start (void) |
Initialize iterator. | |
Protected Attributes inherited from Gecode::Iter::Ranges::ToValues< IntSetRanges > | |
IntSetRanges | i |
Range iterator used. | |
int | cur |
Current value. | |
int | max |
End of current range. |
|
inline |
Default constructor.
Definition at line 276 of file int-set-1.hpp.
|
inline |
Initialize with values for s.
Definition at line 279 of file int-set-1.hpp.
|
inline |
Initialize with values for s.
Definition at line 285 of file int-set-1.hpp.