ell::WAC_MaxEnergy Class Reference
#include <WalkAbortionCriterion.hh>
Inheritance diagram for ell::WAC_MaxEnergy:
Detailed Description
This subclass of WalkAbortionCriterion aborts a walk if the energy of the last accepted State exceeds a predefined boundary.
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] |
The documentation for this class was generated from the following files:
- src/ell/WalkAbortionCriterion.hh
- src/ell/WalkAbortionCriterion.cc