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

CVFunctionFromQFunction Class Reference

#include <cvfunctionfromqfunction.h>

Inheritance diagram for CVFunctionFromQFunction:

COptimalVFunctionFromQFunction CAbstractVFunction CStateObject CLearnDataObject CParameterObject CParameters List of all members.


Public Member Functions

  CVFunctionFromQFunction (CAbstractQFunction *qfunction, CStochasticPolicy *stochPolicy, CStateProperties *properties)
virtual  ~CVFunctionFromQFunction ()
virtual double  getValue (CStateCollection *state)
  Calls setValue(CState *state, double qValue) with the state assigned to the value function.

virtual double  getValue (CState *state)
  returns the value of the state, has to be implemented by the other V-Functions

virtual CStochasticPolicy getPolicy ()
virtual void  setPolicy (CStochasticPolicy *policy)


Protected Attributes

double *  actionValues
CStochasticPolicy stochPolicy

Constructor & Destructor Documentation

CVFunctionFromQFunction::CVFunctionFromQFunction CAbstractQFunction qfunction,
CStochasticPolicy stochPolicy,
CStateProperties properties
 
virtual CVFunctionFromQFunction::~CVFunctionFromQFunction  )  [virtual]
 

Member Function Documentation

virtual CStochasticPolicy* CVFunctionFromQFunction::getPolicy  )  [virtual]
 
virtual double CVFunctionFromQFunction::getValue CState state  )  [virtual]
 

returns the value of the state, has to be implemented by the other V-Functions

Reimplemented from COptimalVFunctionFromQFunction.

virtual double CVFunctionFromQFunction::getValue CStateCollection state  )  [virtual]
 

Calls setValue(CState *state, double qValue) with the state assigned to the value function.

Reimplemented from COptimalVFunctionFromQFunction.

virtual void CVFunctionFromQFunction::setPolicy CStochasticPolicy policy  )  [virtual]
 

Member Data Documentation

double* CVFunctionFromQFunction::actionValues [protected]
 
CStochasticPolicy* CVFunctionFromQFunction::stochPolicy [protected]
 

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