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

CContinuousTimeQFunctionFromTransitionFunction Class Reference

#include <ctransitionfunction.h>

Inheritance diagram for CContinuousTimeQFunctionFromTransitionFunction:

CAbstractQFunction CStateModifiersObject CActionObject CLearnDataObject CStateObject CParameterObject CParameters List of all members.


Public Member Functions

  CContinuousTimeQFunctionFromTransitionFunction (CActionSet *actions, CVFunctionInputDerivationCalculator *vfunction, CContinuousTimeTransitionFunction *model, CRewardFunction *rewardfunction, std::list< CStateModifier * > *modifiers)
  Creates a new QFunction from VFunction object for the given V-Function and the given model, the discretizer is take nfrom the V-Function.

  CContinuousTimeQFunctionFromTransitionFunction (CActionSet *actions, CVFunctionInputDerivationCalculator *vfunction, CContinuousTimeTransitionFunction *model, CRewardFunction *rewardfunction)
virtual  ~CContinuousTimeQFunctionFromTransitionFunction ()
virtual void  getActionValues (CStateCollection *state, CActionSet *actions, double *actionValues, CActionDataSet *actionDataSet)
  Writes the Q-Values of the specified actions in the actionValues array.

virtual void  setValue (CStateCollection *, CAction *, double, CActionData *=NULL)
  Does nothing.

virtual void  updateValue (CStateCollection *, CAction *, double, CActionData *=NULL)
  Does nothing.

virtual double  getValue (CStateCollection *state, CAction *action, CActionData *data=NULL)
  getValue function for state collections

virtual CAbstractQETraces getStandardETraces ()
virtual void  addStateModifier (CStateModifier *modifier)


Protected Member Functions

virtual double  getValueVDerivation (CStateCollection *state, CAction *action, CActionData *data, ColumnVector *derivationXVFunction)


Protected Attributes

CVFunctionInputDerivationCalculator vfunction
  The given V-Function.

CContinuousTimeTransitionFunction model
  The model.

CRewardFunction rewardfunction
  feature Reward Function for the learning problem.

CStateCollectionImpl nextState
CState derivationXModel
CState derivationXVFunction

Constructor & Destructor Documentation

CContinuousTimeQFunctionFromTransitionFunction::CContinuousTimeQFunctionFromTransitionFunction CActionSet actions,
CVFunctionInputDerivationCalculator vfunction,
CContinuousTimeTransitionFunction model,
CRewardFunction rewardfunction,
std::list< CStateModifier * > *  modifiers
 

Creates a new QFunction from VFunction object for the given V-Function and the given model, the discretizer is take nfrom the V-Function.

CContinuousTimeQFunctionFromTransitionFunction::CContinuousTimeQFunctionFromTransitionFunction CActionSet actions,
CVFunctionInputDerivationCalculator vfunction,
CContinuousTimeTransitionFunction model,
CRewardFunction rewardfunction
 
virtual CContinuousTimeQFunctionFromTransitionFunction::~CContinuousTimeQFunctionFromTransitionFunction  )  [virtual]
 

Member Function Documentation

virtual void CContinuousTimeQFunctionFromTransitionFunction::addStateModifier CStateModifier modifier  )  [virtual]
 

Reimplemented from CStateModifiersObject.

virtual void CContinuousTimeQFunctionFromTransitionFunction::getActionValues CStateCollection state,
CActionSet actions,
double *  actionValues,
CActionDataSet actionDataSet
[virtual]
 

Writes the Q-Values of the specified actions in the actionValues array.

so the size of the array has to be at least the size of the action set.

Reimplemented from CAbstractQFunction.

virtual CAbstractQETraces* CContinuousTimeQFunctionFromTransitionFunction::getStandardETraces  )  [inline, virtual]
 

Reimplemented from CAbstractQFunction.

virtual double CContinuousTimeQFunctionFromTransitionFunction::getValue CStateCollection state,
CAction action,
CActionData data = NULL
[virtual]
 

getValue function for state collections

Calls the getValue function for the specific state (retrieved from the collection by the discretizer)

Implements CAbstractQFunction.

virtual double CContinuousTimeQFunctionFromTransitionFunction::getValueVDerivation CStateCollection state,
CAction action,
CActionData data,
ColumnVector *  derivationXVFunction
[protected, virtual]
 
virtual void CContinuousTimeQFunctionFromTransitionFunction::setValue CStateCollection ,
CAction ,
double  ,
CActionData = NULL
[inline, virtual]
 

Does nothing.

Reimplemented from CAbstractQFunction.

virtual void CContinuousTimeQFunctionFromTransitionFunction::updateValue CStateCollection ,
CAction ,
double  ,
CActionData = NULL
[inline, virtual]
 

Does nothing.

Reimplemented from CAbstractQFunction.


Member Data Documentation

CState* CContinuousTimeQFunctionFromTransitionFunction::derivationXModel [protected]
 
CState* CContinuousTimeQFunctionFromTransitionFunction::derivationXVFunction [protected]
 
CContinuousTimeTransitionFunction* CContinuousTimeQFunctionFromTransitionFunction::model [protected]
 

The model.

CStateCollectionImpl* CContinuousTimeQFunctionFromTransitionFunction::nextState [protected]
 
CRewardFunction* CContinuousTimeQFunctionFromTransitionFunction::rewardfunction [protected]
 

feature Reward Function for the learning problem.

CVFunctionInputDerivationCalculator* CContinuousTimeQFunctionFromTransitionFunction::vfunction [protected]
 

The given V-Function.


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