CContinuousTimeQFunctionFromTransitionFunction Class
Reference
#include <ctransitionfunction.h>
Inheritance diagram for
CContinuousTimeQFunctionFromTransitionFunction:
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
| |
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
CContinuousTimeQFunctionFromTransitionFunction::~CContinuousTimeQFunctionFromTransitionFunction
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| virtual void
CContinuousTimeQFunctionFromTransitionFunction::addStateModifier
|
( |
CStateModifier *
|
modifier |
) |
[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] |
|
| |
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] |
|
Member Data Documentation
| |
feature Reward Function for the learning
problem.
|
The documentation for this class was generated from the following
file:
|