Gecode::Set::Int::OverweightValues< I > Class Template Reference
List of all members.Detailed Description
template<class I>
class Gecode::Set::Int::OverweightValues< I >
Value Iterator for values above a certain weight.
Definition at line 35 of file weights.icc.
Constructors and initialization | |
OverweightValues (void) | |
Default constructor. | |
OverweightValues (int t, Support::SharedArray< int > &elements0, Support::SharedArray< int > &weights0, I &i) | |
Initialize with elements/weights pairs, threshold t and iterator i. | |
void | init (int t, Support::SharedArray< int > &elements0, Support::SharedArray< int > &weights0, I &i) |
Initialize with elements/weights pairs, threshold t and iterator i. | |
Iteration control | |
bool | operator() (void) const |
Test whether iterator is still at a value or done. | |
void | operator++ (void) |
Move iterator to next value (if possible). | |
Value access | |
int | val (void) const |
Return current value. |
Constructor & Destructor Documentation
|
Default constructor.
Definition at line 95 of file weights.icc. |
|
Initialize with elements/weights pairs, threshold t and iterator i.
Definition at line 99 of file weights.icc. |
Member Function Documentation
|
Initialize with elements/weights pairs, threshold t and iterator i.
Definition at line 112 of file weights.icc. |
|
Test whether iterator is still at a value or done.
Definition at line 124 of file weights.icc. |
|
Move iterator to next value (if possible).
Definition at line 128 of file weights.icc. |
|
Return current value.
Definition at line 132 of file weights.icc. |
The documentation for this class was generated from the following file:
- gecode/set/int/weights.icc (Revision: 3509)