
Iterate all subsets of a given set. More...
#include <set.hh>
Public Member Functions | |
| CountableSet (const Gecode::IntSet &s) | |
| Initialize with set s. More... | |
| CountableSet (void) | |
| Default constructor. More... | |
| void | init (const Gecode::IntSet &s) |
| Initialize with set s. More... | |
| bool | operator() (void) const |
| Check if still subsets left. More... | |
| void | operator++ (void) |
| Move to next subset. More... | |
| int | val (void) const |
| Return current subset. More... | |
| Test::Set::CountableSet::CountableSet | ( | const Gecode::IntSet & | s | ) |
|
inline |
| void Test::Set::CountableSet::init | ( | const Gecode::IntSet & | s | ) |
|
inline |
| void Test::Set::CountableSet::operator++ | ( | void | ) |
| int Test::Set::CountableSet::val | ( | void | ) | const |