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

ell::WAC_MaxLength Class Reference

#include <WalkAbortionCriterion.hh>

Inheritance diagram for ell::WAC_MaxLength:

Inheritance graph
[legend]

Detailed Description

This subclass of WalkAbortionCriterion aborts a walk if the number of accepted States exceeds a predefined boundary.

Author:
Daniel Maticzka

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]

maximum number of accepted states

Definition at line 38 of file WalkAbortionCriterion.hh.


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