ell::WAC_MaxLength Class Reference
#include <WalkAbortionCriterion.hh>
Inheritance diagram for ell::WAC_MaxLength:
Detailed Description
This subclass of WalkAbortionCriterion aborts a walk if the number of accepted States exceeds a predefined boundary.
Definition at line 34 of file WalkAbortionCriterion.hh.
Public Member Functions | |
bool | abort (StateCollector *sc) const |
WAC_MaxLength (const size_t max) | |
Private Attributes | |
const size_t | maxStates |
Constructor & Destructor Documentation
ell::WAC_MaxLength::WAC_MaxLength | ( | const size_t | max | ) |
Constructs a WalkAbortionCriterion that aborts when a maximum number of accepted states is reached.
- Parameters:
-
max maximum number of accepted states
Definition at line 10 of file WalkAbortionCriterion.cc.
Member Function Documentation
bool ell::WAC_MaxLength::abort | ( | StateCollector * | sc | ) | const [virtual] |
Returns true if the StateCollector sc fulfills a defined property.
Implements ell::WalkAbortionCriterion.
Definition at line 15 of file WalkAbortionCriterion.cc.
Field Documentation
const size_t ell::WAC_MaxLength::maxStates [private] |
The documentation for this class was generated from the following files:
- src/ell/WalkAbortionCriterion.hh
- src/ell/WalkAbortionCriterion.cc