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

CVFunctionSum Class Reference

#include <cvfunction.h>

Inheritance diagram for CVFunctionSum:

CAbstractVFunction CStateObject CLearnDataObject CParameterObject CParameters List of all members.


Public Member Functions

  CVFunctionSum ()
virtual  ~CVFunctionSum ()
virtual double  getValue (CStateCollection *state)
  Interface for getting a Q-Value.

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

virtual CAbstractVETraces getStandardETraces ()
  Returns a standard VETraces object.

double  getVFunctionFactor (CAbstractVFunction *vFunction)
void  setVFunctionFactor (CAbstractVFunction *vFunction, double factor)
void  addVFunction (CAbstractVFunction *vFunction, double factor=1.0)
void  removeVFunction (CAbstractVFunction *vFunction)
void  normFactors (double factor)


Protected Attributes

std::map< CAbstractVFunction *,

double > * 
vFunctions

Constructor & Destructor Documentation

CVFunctionSum::CVFunctionSum  ) 
 
virtual CVFunctionSum::~CVFunctionSum  )  [virtual]
 

Member Function Documentation

void CVFunctionSum::addVFunction CAbstractVFunction vFunction,
double  factor = 1.0
 
virtual CAbstractVETraces* CVFunctionSum::getStandardETraces  )  [inline, virtual]
 

Returns a standard VETraces object.

The function has to return a new instantiated CAbstractVETraces object, which is used to compose the CQETtraces object. The function returns CStateVETraces as standard.

Reimplemented from CAbstractVFunction.

virtual double CVFunctionSum::getValue CState state  )  [inline, virtual]
 

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

Implements CAbstractVFunction.

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

Interface for getting a Q-Value.

Reimplemented from CAbstractVFunction.

double CVFunctionSum::getVFunctionFactor CAbstractVFunction vFunction  ) 
 
void CVFunctionSum::normFactors double  factor  ) 
 
void CVFunctionSum::removeVFunction CAbstractVFunction vFunction  ) 
 
void CVFunctionSum::setVFunctionFactor CAbstractVFunction vFunction,
double  factor
 

Member Data Documentation

std::map<CAbstractVFunction *, double>* CVFunctionSum::vFunctions [protected]
 

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