Gecode::SetVarGlbRanges set.hh
Constructors and initialization
forceinline Gecode::SetVarGlbRanges::SetVarGlbRanges (void) SetVarGlbRanges void Default constructor. forceinline Gecode::SetVarGlbRanges::SetVarGlbRanges (const SetVar &x) SetVarGlbRanges const SetVar & x Initialize to iterate ranges of variable x.
Iteration control
bool forceinline bool Gecode::SetVarGlbRanges::operator() (void) const operator() void Test whether iterator is still at a range or done. void forceinline void Gecode::SetVarGlbRanges::operator++ (void) operator++ void Move iterator to next range (if possible)
Range access
int forceinline int Gecode::SetVarGlbRanges::min (void) const min void Return smallest value of range. int forceinline int Gecode::SetVarGlbRanges::max (void) const max void Return largest value of range. unsigned int forceinline unsigned int Gecode::SetVarGlbRanges::width (void) const width void Return width of range (distance between minimum and maximum)
Set::GlbRanges< Set::SetVarImp * > Set::GlbRanges<Set::SetVarImp*> Gecode::SetVarGlbRanges::iter iter Iterator for the greatest lower bound ranges of a set variable. Gecode::SetVarGlbRangesiter Gecode::SetVarGlbRangesmax Gecode::SetVarGlbRangesmin Gecode::SetVarGlbRangesoperator() Gecode::SetVarGlbRangesoperator++ Gecode::SetVarGlbRangesSetVarGlbRanges Gecode::SetVarGlbRangesSetVarGlbRanges Gecode::SetVarGlbRangeswidth