CComposedQETraces Class Reference
This is the E-Trace
class for the CComposedQFunction class.
More...
#include <cqetraces.h>
Inheritance diagram for CComposedQETraces:
List of all
members.
Detailed Description
This is the E-Trace class for the CComposedQFunction class.
This class represents the ETrace object for the composed
Q-Functions. Composed Q-Functions consists of several Q-Functions,
so you can use different kind of Q-Functions for different actions
(For example combine a NeuralNetwork Q-Function with a Feature
Q-Function). The class works similar to CQETraces, but instead of CVETrace
objects, it handles CQETrace objects.
Constructor & Destructor Documentation
| virtual
CComposedQETraces::~CComposedQETraces
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| |
Interface function for adding a State-Action pair with the given
factor to the ETraces.
Implements CAbstractQETraces.
|
| |
Returns the index th VETraces object.
|
| virtual void
CComposedQETraces::resetETraces
|
( |
|
) |
[virtual] |
|
| void
CComposedQETraces::setQETrace
|
( |
CAbstractQETraces
*
|
qEtrace,
|
|
|
int |
index,
|
|
|
bool |
bDeleteOld =
true |
|
) |
|
|
| virtual void
CComposedQETraces::setReplacingETraces
|
( |
bool |
bReplace |
) |
[virtual] |
|
| |
sets the internal replacing ETraces flag and the flag of the
Q-ETraces
Reimplemented from CAbstractQETraces.
|
| virtual void
CComposedQETraces::updateETraces
|
( |
CAction *
|
action,
|
|
|
CActionData *
|
data =
NULL |
|
) |
[virtual] |
|
| |
Interface function for updating the ETraces.
I.e. all stored ETraces-factors get multiplied by lambda *
gamma, gamma is taken from the Q-Function. If the action is a
multistep action, the factor lambda * gamma is exponentiated with
the duration.
Implements CAbstractQETraces.
|
| virtual void
CComposedQETraces::updateQFunction
|
( |
double |
td |
) |
[virtual] |
|
| |
Interface function for updating the Q-Values of all State-Action
Pairs in the ETraces.
Implements CAbstractQETraces.
|
Member Data Documentation
| |
the assigned composed Q-Function
|
The documentation for this class was generated from the following
file:
|