Value iterator for values in a bitset.
More...
#include <values-bitset.hpp>
List of all members.
Protected Member Functions |
void | move (void) |
| Move to next set bit.
|
Protected Attributes |
const BS & | bs |
| Bitset.
|
unsigned int | cur |
| Current value.
|
unsigned int | limit |
| Limit value.
|
Constructors and initialization |
| BitSet (const BS &bs) |
| Initialize with bitset bs.
|
| BitSet (const BS &bs, int n, int m) |
| Initialize with bitset bs and start n and stop m.
|
Iteration control |
bool | operator() (void) const |
| Test whether iterator is still at a value or done.
|
void | operator++ (void) |
| Move iterator to next value (if possible)
|
Value access |
int | val (void) const |
| Return current value.
|
Detailed Description
template<class BS>
class Gecode::Iter::Values::BitSet< BS >
Value iterator for values in a bitset.
Definition at line 46 of file values-bitset.hpp.
Constructor & Destructor Documentation
Initialize with bitset bs and start n and stop m.
Definition at line 89 of file values-bitset.hpp.
Member Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: