ell::StateAcceptor Class Reference
#include <StateAcceptor.hh>
Inheritance diagram for ell::StateAcceptor:
Detailed Description
This abstract class is used to check if a given State is valid to be accepted as successor in a walk.
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:
- src/ell/StateAcceptor.hh