Generated on Tue Dec 16 13:35:07 2008 for ell-3.0.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 65 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 36 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 41 of file WalkAbortionCriterion.cc.


Field Documentation

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

energy boundary that won't be exceeded

Definition at line 70 of file WalkAbortionCriterion.hh.


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