Generated on Fri Oct 19 11:26:37 2018 for Gecode by doxygen 1.6.3

Test::Set::CountableSet Class Reference
[General set test support]

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 118 of file set.hh.


Constructor & Destructor Documentation

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

Initialize with set s.

Definition at line 44 of file set.cpp.

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

Default constructor.

Definition at line 130 of file set.hh.


Member Function Documentation

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

Initialize with set s.

Definition at line 55 of file set.cpp.

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

Check if still subsets left.

Definition at line 134 of file set.hh.

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

Move to next subset.

Definition at line 51 of file set.cpp.

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

Return current subset.

Definition at line 64 of file set.cpp.


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