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

ell::WAC_MaxEnergy Class Reference

#include <WalkAbortionCriterion.hh>

Inheritance diagram for ell::WAC_MaxEnergy:

Inheritance graph
[legend]

Detailed Description

This subclass of WalkAbortionCriterion aborts a walk if the energy of the last accepted State exceeds a predefined boundary.

Author:
Daniel Maticzka

Definition at line 57 of file WalkAbortionCriterion.hh.

Public Member Functions

bool abort (StateCollector *sc) const
 WAC_MaxEnergy (const double max)

Private Attributes

const double maxEnergy


Constructor & Destructor Documentation

ell::WAC_MaxEnergy::WAC_MaxEnergy ( const double  max  ) 

Constructs a WalkAbortionCriterion that aborts a walk if a maximum energy is exceeded.

Parameters:
max the energy to check against

Definition at line 27 of file WalkAbortionCriterion.cc.


Member Function Documentation

bool ell::WAC_MaxEnergy::abort ( StateCollector sc  )  const [virtual]

Returns true if the StateCollector sc fulfills a defined property.

Implements ell::WalkAbortionCriterion.

Definition at line 32 of file WalkAbortionCriterion.cc.


Field Documentation

const double ell::WAC_MaxEnergy::maxEnergy [private]

energy boundary that won't be exceeded

Definition at line 62 of file WalkAbortionCriterion.hh.


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