Generated on Sun Mar 10 2013 14:26:50 for Gecode by doxygen 1.7.6.1
Test::Set::CountableSet Class Reference

Iterate all subsets of a given set. More...

#include <set.hh>

List of all members.

Public Member Functions

 CountableSet (const Gecode::IntSet &s)
 Initialize with set s.
 CountableSet (void)
 Default constructor.
void init (const Gecode::IntSet &s)
 Initialize with set s.
bool operator() (void) const
 Check if still subsets left.
void operator++ (void)
 Move to next subset.
int val (void) const
 Return current subset.

Detailed Description

Iterate all subsets of a given set.

Definition at line 134 of file set.hh.


Constructor & Destructor Documentation

Initialize with set s.

Definition at line 48 of file set.cpp.

Default constructor.

Definition at line 146 of file set.hh.


Member Function Documentation

Initialize with set s.

Definition at line 59 of file set.cpp.

bool Test::Set::CountableSet::operator() ( void  ) const [inline]

Check if still subsets left.

Definition at line 150 of file set.hh.

void Test::Set::CountableSet::operator++ ( void  )

Move to next subset.

Definition at line 55 of file set.cpp.

int Test::Set::CountableSet::val ( void  ) const

Return current subset.

Definition at line 68 of file set.cpp.


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