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

ell::SA_Metropolis Class Reference

#include <StateAcceptor.hh>

Inheritance diagram for ell::SA_Metropolis:

Inheritance graph
[legend]

Detailed Description

This subclass of StateAcceptor implements the Metropolis criterion to determine if a given State is valid to be accepted as successor in a walk.

Author:
Daniel Maticzka

Definition at line 219 of file StateAcceptor.hh.

Public Member Functions

virtual bool accept (const StateCollector *const sc, const State &succ) const
 SA_Metropolis (const double _beta)
virtual ~SA_Metropolis ()

Protected Attributes

const double beta


Constructor & Destructor Documentation

SA_Metropolis::SA_Metropolis ( const double  _beta  ) 

Definition at line 73 of file StateAcceptor.cc.

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

Definition at line 226 of file StateAcceptor.hh.


Member Function Documentation

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

Checks if State succ is valid successor to last accepted State from StateCollector sc, using the metropolis criterion.

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

Implements ell::StateAcceptor.

Definition at line 76 of file StateAcceptor.cc.


Field Documentation

const double ell::SA_Metropolis::beta [protected]

Definition at line 221 of file StateAcceptor.hh.


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