Generated on Sat Feb 7 2015 02:01:59 for Gecode by doxygen 1.8.9.1

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...
 

Detailed Description

Iterate all subsets of a given set.

Definition at line 134 of file set.hh.

Constructor & Destructor Documentation

Test::Set::CountableSet::CountableSet ( const Gecode::IntSet s)

Initialize with set s.

Definition at line 48 of file set.cpp.

Test::Set::CountableSet::CountableSet ( void  )
inline

Default constructor.

Definition at line 146 of file set.hh.

Member Function Documentation

void Test::Set::CountableSet::init ( const Gecode::IntSet s)

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: