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

CVFunctionInputDerivationCalculator Class Reference

Interface class for calculating the gradient dV(x)/dx. More...

#include <cvfunction.h>

Inheritance diagram for CVFunctionInputDerivationCalculator:

CParameterObject CParameters CVFunctionFromGradientFunction CVFunctionNumericInputDerivationCalculator List of all members.


Public Member Functions

  CVFunctionInputDerivationCalculator (CStateProperties *modelState)
virtual void  getInputDerivation (CStateCollection *state, ColumnVector *targetVector)=0
unsigned int  getNumInputs ()


Protected Attributes

CStateProperties modelState

Detailed Description

Interface class for calculating the gradient dV(x)/dx.

Interface for calcualting the input derivation of a feature function. The input derivation is calculated in the function getInputDerivation and written in the given targetVector, which always has the dimension of the model state (only for continuous state variables).

By now there is only the numeric input derivation calculator, calculating the derivation analytically is supported by feature v-functions and torch-vfunctions but its not tested, so its recommended to use the numeric derivation.

Constructor & Destructor Documentation

CVFunctionInputDerivationCalculator::CVFunctionInputDerivationCalculator CStateProperties modelState  ) 
 

Member Function Documentation

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

Implemented in CVFunctionFromGradientFunction, and CVFunctionNumericInputDerivationCalculator.

unsigned int CVFunctionInputDerivationCalculator::getNumInputs  ) 
 

Member Data Documentation

CStateProperties* CVFunctionInputDerivationCalculator::modelState [protected]
 

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