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

ell::SA_Le Class Reference

#include <StateAcceptor.hh>

Inheritance diagram for ell::SA_Le:

Inheritance graph
[legend]

Detailed Description

This subclass of StateAcceptor accepts a given State as successor if it is smaller according to the less operator '<' of the last accepted State in the StateCollector.

Author:
Martin Mann

Definition at line 62 of file StateAcceptor.hh.

Public Member Functions

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


Constructor & Destructor Documentation

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

Definition at line 66 of file StateAcceptor.hh.


Member Function Documentation

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

Tests if succ is smaller than the last accepted State of StateCollector sc using succ.operator<(*sc->getLastAdded()).

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

Implements ell::StateAcceptor.

Definition at line 16 of file StateAcceptor.cc.


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