Value iterator for characteristic function. More...
#include <lq.hpp>
Public Member Functions | |
void | operator++ (void) |
Move iterator to next element. | |
CSIter (void) | |
Default constructor. | |
CSIter (CharacteristicSets &cs0, int xoff0, int yoff0) | |
Constructor. | |
bool | operator() (void) const |
Test if iterator is finished. | |
int | val (void) const |
Value of current iterator position. | |
Public Attributes | |
CharacteristicSets * | cs |
Pointer to the underlying set. | |
unsigned int | i |
Current position. | |
int | xoff |
Offset from start of bitset. | |
int | yoff |
Offset for each element (0=lower bound, 1=upper bound) |
Gecode::Set::Rel::CharacteristicSets::CSIter::CSIter | ( | void | ) | [inline] |
Gecode::Set::Rel::CharacteristicSets::CSIter::CSIter | ( | CharacteristicSets & | cs0, |
int | xoff0, | ||
int | yoff0 | ||
) | [inline] |
void Gecode::Set::Rel::CharacteristicSets::CSIter::operator++ | ( | void | ) | [inline] |
bool Gecode::Set::Rel::CharacteristicSets::CSIter::operator() | ( | void | ) | const [inline] |
int Gecode::Set::Rel::CharacteristicSets::CSIter::val | ( | void | ) | const [inline] |
unsigned int Gecode::Set::Rel::CharacteristicSets::CSIter::i |