Gecode::Set::GlbRanges< OffsetSetView< View > > Class Template Reference
[Set views]
Detailed Description
template<class View>
class Gecode::Set::GlbRanges< OffsetSetView< View > >
Range iterator for greatest lower bound of offset set views
Definition at line 403 of file offset.icc.
Constructors and initialization | |
GlbRanges (void) | |
Default constructor. | |
GlbRanges (const OffsetSetView< View > &x) | |
Initialize with ranges for view x. | |
void | init (const OffsetSetView< View > &x) |
Initialize with ranges for view x. | |
Iteration control | |
bool | operator() (void) const |
Test whether iterator is still at a range or done. | |
void | operator++ (void) |
Move iterator to next range (if possible). | |
Range access | |
int | min (void) const |
Return smallest value of range. | |
int | max (void) const |
Return largest value of range. | |
unsigned int | width (void) const |
Return width of ranges (distance between minimum and maximum). |
Constructor & Destructor Documentation
template<class View>
Gecode::Set::GlbRanges< OffsetSetView< View > >::GlbRanges | ( | void | ) | [inline] |
template<class View>
Gecode::Set::GlbRanges< OffsetSetView< View > >::GlbRanges | ( | const OffsetSetView< View > & | x | ) | [inline] |
Member Function Documentation
template<class View>
void Gecode::Set::GlbRanges< OffsetSetView< View > >::init | ( | const OffsetSetView< View > & | x | ) | [inline] |
template<class View>
bool Gecode::Set::GlbRanges< OffsetSetView< View > >::operator() | ( | void | ) | const [inline] |
template<class View>
void Gecode::Set::GlbRanges< OffsetSetView< View > >::operator++ | ( | void | ) | [inline] |
template<class View>
int Gecode::Set::GlbRanges< OffsetSetView< View > >::min | ( | void | ) | const [inline] |
template<class View>
int Gecode::Set::GlbRanges< OffsetSetView< View > >::max | ( | void | ) | const [inline] |
template<class View>
unsigned int Gecode::Set::GlbRanges< OffsetSetView< View > >::width | ( | void | ) | const [inline] |
Return width of ranges (distance between minimum and maximum).
Definition at line 466 of file offset.icc.
The documentation for this class was generated from the following file:
- gecode/set/view/offset.icc (Revision: 5974)