ell::SA_E_Le Class Reference
#include <StateAcceptor.hh>
Inheritance diagram for ell::SA_E_Le:
Detailed Description
This subclass of StateAcceptor implements a criterium to determine if a given State is valid to be accepted as successor in a walk.
Definition at line 138 of file StateAcceptor.hh.
Public Member Functions | |
virtual bool | accept (const StateCollector *const sc, const State &succ) const |
virtual | ~SA_E_Le () |
Constructor & Destructor Documentation
virtual ell::SA_E_Le::~SA_E_Le | ( | ) | [inline, virtual] |
Definition at line 142 of file StateAcceptor.hh.
Member Function Documentation
bool SA_E_Le::accept | ( | const StateCollector *const | sc, | |
const State & | succ | |||
) | const [virtual] |
Tests if energy of State succ is less than energy of last accepted State of StateCollector sc.
- Parameters:
-
sc the StateCollector to test against succ the successor State to test
- Returns:
- true if valid successor
Implements ell::StateAcceptor.
Definition at line 42 of file StateAcceptor.cc.
The documentation for this class was generated from the following files:
- src/ell/StateAcceptor.hh
- src/ell/StateAcceptor.cc