Gecode::SetVarLubRanges set.hh
Constructors and initialization
forceinline Gecode::SetVarLubRanges::SetVarLubRanges (void) SetVarLubRanges void Default constructor. forceinline Gecode::SetVarLubRanges::SetVarLubRanges (const SetVar &x) SetVarLubRanges const SetVar & x Initialize to iterate ranges of variable x.
Iteration control
bool forceinline bool Gecode::SetVarLubRanges::operator() (void) const operator() void Test whether iterator is still at a range or done. void forceinline void Gecode::SetVarLubRanges::operator++ (void) operator++ void Move iterator to next range (if possible)
Range access
int forceinline int Gecode::SetVarLubRanges::min (void) const min void Return smallest value of range. int forceinline int Gecode::SetVarLubRanges::max (void) const max void Return largest value of range. unsigned int forceinline unsigned int Gecode::SetVarLubRanges::width (void) const width void Return width of range (distance between minimum and maximum)
Set::LubRanges< Set::SetVarImp * > Set::LubRanges<Set::SetVarImp*> Gecode::SetVarLubRanges::iter iter Iterator for the least upper bound ranges of a set variable. Gecode::SetVarLubRangesiter Gecode::SetVarLubRangesmax Gecode::SetVarLubRangesmin Gecode::SetVarLubRangesoperator() Gecode::SetVarLubRangesoperator++ Gecode::SetVarLubRangesSetVarLubRanges Gecode::SetVarLubRangesSetVarLubRanges Gecode::SetVarLubRangeswidth