Generated on Sat Feb 7 2015 02:01:59 for Gecode by doxygen 1.8.9.1
Test::Set::CountableSetRanges Class Reference

Range iterator producing subsets of an IntSet. More...

#include <set.hh>

Public Member Functions

 CountableSetRanges (void)
 Default constructor. More...
 
 CountableSetRanges (const Gecode::IntSet &d, int cur)
 Initialize with set d0 and bit-pattern cur0. More...
 
void init (const Gecode::IntSet &d, int cur)
 Initialize with set d0 and bit-pattern cur0. More...
 
- Public Member Functions inherited from Gecode::Iter::Values::ToRanges< CountableSetValues >
 ToRanges (void)
 Default constructor. More...
 
 ToRanges (CountableSetValues &i)
 Initialize with value iterator i. More...
 
void init (CountableSetValues &i)
 Initialize with value iterator i. More...
 
void operator++ (void)
 Move iterator to next range (if possible) More...
 
- Public Member Functions inherited from Gecode::Iter::Ranges::MinMax
 MinMax (void)
 Default constructor. More...
 
 MinMax (int min, int max)
 Initialize with range min to max. More...
 
bool operator() (void) const
 Test whether iterator is still at a range or done. More...
 
int min (void) const
 Return smallest value of range. More...
 
int max (void) const
 Return largest value of range. More...
 
unsigned int width (void) const
 Return width of range (distance between minimum and maximum) More...
 

Additional Inherited Members

- Protected Member Functions inherited from Gecode::Iter::Ranges::MinMax
void finish (void)
 Set range such that iteration stops More...
 
- Protected Attributes inherited from Gecode::Iter::Values::ToRanges< CountableSetValues >
CountableSetValues i
 Value iterator used. More...
 
- Protected Attributes inherited from Gecode::Iter::Ranges::MinMax
int mi
 Minimum of current range. More...
 
int ma
 Maximum of current range. More...
 

Detailed Description

Range iterator producing subsets of an IntSet.

Definition at line 114 of file set.hh.

Constructor & Destructor Documentation

Test::Set::CountableSetRanges::CountableSetRanges ( void  )
inline

Default constructor.

Definition at line 121 of file set.hh.

Test::Set::CountableSetRanges::CountableSetRanges ( const Gecode::IntSet d,
int  cur 
)
inline

Initialize with set d0 and bit-pattern cur0.

Definition at line 123 of file set.hh.

Member Function Documentation

void Test::Set::CountableSetRanges::init ( const Gecode::IntSet d,
int  cur 
)
inline

Initialize with set d0 and bit-pattern cur0.

Definition at line 127 of file set.hh.


The documentation for this class was generated from the following file: