Reinforcement Learning Toolbox 2.0
last updated:
General
Documentation
Manual
Tutorial
Class Reference
Master Thesis
Examples
Related Papers
Downloads
Links
News
mailto:webmaster
Main Page     Class Hierarchy   Compound List   File List   Compound Members   File Members

CVFunctionNumericInputDerivationCalculator Class Reference

Calculating the input derivation of a V-Function numerically. More...

#include <cvfunction.h>

Inheritance diagram for CVFunctionNumericInputDerivationCalculator:

CVFunctionInputDerivationCalculator CParameterObject CParameters List of all members.


Public Member Functions

  CVFunctionNumericInputDerivationCalculator (CStateProperties *modelState, CAbstractVFunction *vFunction, double stepSize, std::list< CStateModifier * > *modifiers)
virtual  ~CVFunctionNumericInputDerivationCalculator ()
virtual void  getInputDerivation (CStateCollection *state, ColumnVector *targetVector)


Protected Attributes

CAbstractVFunction vFunction
CStateCollectionImpl stateBuffer

Detailed Description

Calculating the input derivation of a V-Function numerically.

The derivation is calculated by the three point rule for each input state variable, so the formular $f'(x) = (f(x + stepSize) - f(x - stepSize))/ 2 * stepSize$ is used, stepSize is set in the constructor and also can be set by the Parameter "NumericInputDerivationStepSize". For each input state variable the stepsize is scaled with the size of the intervall of the state variable, so the "NumericInputDerivationStepSize" parameter is given in percent, and not an absolute value.

The class "CVFunctionNumericInputDerivationCalculator" has the following Parameters:
  • "NumericInputDerivationStepSize": stepSize of the numeric differentation.

Constructor & Destructor Documentation

CVFunctionNumericInputDerivationCalculator::CVFunctionNumericInputDerivationCalculator CStateProperties modelState,
CAbstractVFunction vFunction,
double  stepSize,
std::list< CStateModifier * > *  modifiers
 
virtual CVFunctionNumericInputDerivationCalculator::~CVFunctionNumericInputDerivationCalculator  )  [virtual]
 

Member Function Documentation

virtual void CVFunctionNumericInputDerivationCalculator::getInputDerivation CStateCollection state,
ColumnVector *  targetVector
[virtual]
 

Implements CVFunctionInputDerivationCalculator.


Member Data Documentation

CStateCollectionImpl* CVFunctionNumericInputDerivationCalculator::stateBuffer [protected]
 
CAbstractVFunction* CVFunctionNumericInputDerivationCalculator::vFunction [protected]
 

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