Generated on Mon Jun 23 17:18:26 2008 for ell-2.3.0 by doxygen 1.5.1

ell::StateAcceptor Class Reference

#include <StateAcceptor.hh>

Inheritance diagram for ell::StateAcceptor:

Inheritance graph
[legend]

Detailed Description

This abstract class is used to check if a given State is valid to be accepted as successor in a walk.

Author:
Daniel Maticzka

Definition at line 15 of file StateAcceptor.hh.

Public Member Functions

virtual bool accept (const StateCollector *const sc, const State &succ) const =0
virtual ~StateAcceptor ()


Constructor & Destructor Documentation

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

Definition at line 19 of file StateAcceptor.hh.


Member Function Documentation

virtual bool ell::StateAcceptor::accept ( const StateCollector *const   sc,
const State succ 
) const [pure virtual]

Returns true, if State succ is a valid successor to the states colleted by StateCollector sc.

Parameters:
sc the StateCollector to test against
succ the successor State to test
Returns:
true if valid successor

Implemented in ell::SA_All, ell::SA_E_Eq, ell::SA_E_Gr, ell::SA_E_GrEq, ell::SA_E_Le, ell::SA_E_LeEq, ell::SA_EC_Le, and ell::SA_Metropolis.


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