Value iterator for pair of iterators. More...
Constructors and initialization | |
PairValues (IntView x, IntView y, int w) | |
Initialize with views x and y and width w. | |
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. |
Gecode::Int::Element::PairValues::PairValues | ( | IntView | x, |
IntView | y, | ||
int | w | ||
) | [inline] |
bool Gecode::Int::Element::PairValues::operator() | ( | void | ) | const [inline] |
void Gecode::Int::Element::PairValues::operator++ | ( | void | ) | [inline] |
int Gecode::Int::Element::PairValues::val | ( | void | ) | const [inline] |