Generated on Tue Dec 16 13:34:58 2008 for ell-3.0.0 by doxygen 1.5.1

ell::SA_E_Eq Class Reference

#include <StateAcceptor.hh>

Inheritance diagram for ell::SA_E_Eq:

Inheritance graph
[legend]

Detailed Description

This subclass of StateAcceptor accepts a given State as successor if it has equal energy to the last accepted State in the StateCollector.

Author:
Daniel Maticzka

Definition at line 86 of file StateAcceptor.hh.

Public Member Functions

virtual bool accept (const StateCollector *const sc, const State &succ) const
virtual ~SA_E_Eq ()


Constructor & Destructor Documentation

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

Definition at line 90 of file StateAcceptor.hh.


Member Function Documentation

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

Tests for equal energy of State succ and last accepted State in 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 22 of file StateAcceptor.cc.


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