111 : iter(s.varimp()) {}
138 : iter(s.varimp()) {}
void operator++(void)
Move iterator to next value (if possible)
int lubMax(void) const
Return maximum of the least upper bound.
unsigned int cardMin(void) const
Return current cardinality minimum.
bool operator()(void) const
Test whether iterator is still at a value or done.
Variables as interfaces to variable implementations.
int lubMin(void) const
Return minimum element of least upper bound.
unsigned int width(void) const
Return width of range (distance between minimum and maximum)
int max(void) const
Return largest value of range.
bool operator()(void) const
Test whether iterator is still at a range or done.
int min(void) const
Return smallest value of range.
VarImp * varimp(void) const
Return variable implementation of variable.
bool knownOut(int) const
Test whether n is not contained in least upper bound.
bool operator()(void) const
Test whether iterator is still at a range or done.
bool notContains(int i) const
Test whether i is not in the least upper bound.
Finite integer set variable implementation.
int min(void) const
Return smallest value of range.
int min(void) const
Return smallest value of range.
int glbMin(void) const
Return minimum element of greatest lower bound.
Iterator for the unknown ranges of a set variable.
int lubMax(void) const
Return maximum element of least upper bound.
SetVarLubRanges(void)
Default constructor.
Gecode::IntArgs i(4, 1, 2, 3, 4)
unsigned int unknownSize(void) const
Return number of unknown elements (elements in lub but not in glb)
unsigned int glbSize(void) const
Return number of elements in the greatest lower bound.
int val(void) const
Return current value.
unsigned int cardMax(void) const
Return current cardinality maximum.
Set::SetVarImp * x
Pointer to variable implementation.
unsigned int cardMin(void) const
Return cardinality minimum.
Iterator for the greatest lower bound ranges of a set variable.
unsigned int glbSize(void) const
Return the size of the greatest lower bound.
Iterator for the least upper bound ranges of a set variable.
unsigned int width(void) const
Return width of range (distance between minimum and maximum)
int glbMax(void) const
Return maximum of greatest lower bound.
void operator++(void)
Move iterator to next value (if possible)
int lubMin(void) const
Return minimum of the least upper bound.
bool operator()(void) const
Test whether iterator is still at a range or done.
int max(void) const
Return largest value of range.
SetVarLubValues(void)
Default constructor.
Set view for set variables
int max(void) const
Return largest value of range.
void operator++(void)
Move iterator to next range (if possible)
Node * x
Pointer to corresponding Boolean expression node.
unsigned int lubSize(void) const
Return the size of the least upper bound.
int glbMin(void) const
Return minimum of the greatest lower bound.
SetVarUnknownValues(void)
Default constructor.
void operator++(void)
Move iterator to next range (if possible)
unsigned int width(void) const
Return width of range (distance between minimum and maximum)
int glbMax(void) const
Return maximum of the greatest lower bound.
bool knownIn(int n) const
Test whether n is contained in greatest lower bound.
bool operator()(void) const
Test whether iterator is still at a value or done.
unsigned int cardMax(void) const
Return cardinality maximum.
SetVarUnknownRanges(void)
Default constructor.
bool contains(int i) const
Test whether i is in greatest lower bound.
void operator++(void)
Move iterator to next range (if possible)
Gecode toplevel namespace
int val(void) const
Return current value.
void operator++(void)
Move iterator to next value (if possible)
SetVarGlbRanges(void)
Default constructor.
SetVar(void)
Default constructor.
bool operator()(void) const
Test whether iterator is still at a value or done.
int val(void) const
Return current value.
SetVarGlbValues(void)
Default constructor.
unsigned int lubSize(void) const
Return number of elements in the least upper bound.