Generated on Tue Dec 16 13:35:06 2008 for ell-3.0.0 by doxygen 1.5.1

ell::StateCollector Class Reference

#include <StateCollector.hh>

Inheritance diagram for ell::StateCollector:

Inheritance graph
[legend]

Detailed Description

This is an abstract interface used by all state collecting or processing classes (SC_*).

Author:
Daniel Maticzka

Martin Mann

Definition at line 18 of file StateCollector.hh.

Public Member Functions

virtual void add (const State &s)=0
virtual const State *const getLastAdded () const=0
virtual size_t size () const=0
virtual ~StateCollector ()


Constructor & Destructor Documentation

virtual ell::StateCollector::~StateCollector (  )  [inline, virtual]

Definition at line 23 of file StateCollector.hh.


Member Function Documentation

virtual void ell::StateCollector::add ( const State s  )  [pure virtual]

This function makes the collector manage the given State.

Parameters:
s the added State

Implemented in ell::SC_Counting, ell::SC_Listing, ell::SC_ListingK, ell::SC_ListingCompr, ell::SC_Maximum, ell::SC_Outstream, ell::SC_PartitionFunction, and ell::SC_PartitionFunction_Shifted.

virtual const State* const ell::StateCollector::getLastAdded (  )  const [pure virtual]

Returns last added State.

Returns:
last added State

Implemented in ell::SC_Counting, ell::SC_Listing, and ell::SC_ListingK.

virtual size_t ell::StateCollector::size (  )  const [pure virtual]

Returns number of added States.

Returns:
the number of added states

Implemented in ell::SC_Counting, ell::SC_Listing, and ell::SC_ListingK.


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