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

CQFunctionFromTransitionFunction Class Reference

#include <ctransitionfunction.h>

Inheritance diagram for CQFunctionFromTransitionFunction:

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


Public Member Functions

  CQFunctionFromTransitionFunction (CActionSet *actions, CAbstractVFunction *vfunction, CTransitionFunction *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.

virtual  ~CQFunctionFromTransitionFunction ()
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

double  getValueDepthSearch (CStateCollectionList *state, CAction *action, CActionData *data, int depth)
virtual CAbstractQETraces getStandardETraces ()
virtual void  addStateModifier (CStateModifier *modifier)


Protected Attributes

CAbstractVFunction vfunction
  The given V-Function.

CTransitionFunction model
  The model.

CRewardFunction rewardfunction
  feature Reward Function for the learning problem.

CStateCollectionImpl intermediateState
  state buffer

CStateCollectionImpl nextState
CStateCollectionList stateCollectionList
CActionDataSet actionDataSet

Constructor & Destructor Documentation

CQFunctionFromTransitionFunction::CQFunctionFromTransitionFunction CActionSet actions,
CAbstractVFunction vfunction,
CTransitionFunction 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.

virtual CQFunctionFromTransitionFunction::~CQFunctionFromTransitionFunction  )  [virtual]
 

Member Function Documentation

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

Reimplemented from CStateModifiersObject.

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

Reimplemented from CAbstractQFunction.

virtual double CQFunctionFromTransitionFunction::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.

double CQFunctionFromTransitionFunction::getValueDepthSearch CStateCollectionList state,
CAction action,
CActionData data,
int  depth
 
virtual void CQFunctionFromTransitionFunction::setValue CStateCollection ,
CAction ,
double  ,
CActionData = NULL
[inline, virtual]
 

Does nothing.

Reimplemented from CAbstractQFunction.

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

Does nothing.

Reimplemented from CAbstractQFunction.


Member Data Documentation

CActionDataSet* CQFunctionFromTransitionFunction::actionDataSet [protected]
 
CStateCollectionImpl* CQFunctionFromTransitionFunction::intermediateState [protected]
 

state buffer

CTransitionFunction* CQFunctionFromTransitionFunction::model [protected]
 

The model.

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

feature Reward Function for the learning problem.

CStateCollectionList* CQFunctionFromTransitionFunction::stateCollectionList [protected]
 
CAbstractVFunction* CQFunctionFromTransitionFunction::vfunction [protected]
 

The given V-Function.


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