CStateVETraces Class Reference
State ETraces stores
the state object itself. More...
#include <cvetraces.h>
Inheritance diagram for CStateVETraces:
List of all members.
Detailed Description
State ETraces stores the state object itself.
Stores states of the kind the V-Function uses. For each state
there is an Etrace factor stored in a double list, which are
updated when an ETrace is added (every factor gets multiplied by
lambda^N * gamma^N), the active state is intialised with the given
factor (standard value is 1.0).
State VETraces can be used for non-parametric Value Functions,
when they also don't depend on a feature state. But they are very
slow and its not recommended to use state etraces
Constructor & Destructor Documentation
| virtual
CStateVETraces::~CStateVETraces
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| virtual void
CStateVETraces::addETrace
|
( |
CStateCollection *
|
State,
|
|
|
double |
factor =
1.0 |
|
) |
[virtual] |
|
| virtual void
CStateVETraces::resetETraces
|
( |
|
) |
[virtual] |
|
| virtual void
CStateVETraces::updateETraces
|
( |
int |
duration
= 1 |
) |
[virtual] |
|
| |
Interfeace for updating the ETraces.
All ETraces factors get multplied by lambda * gamma. For an
multistep action the update has to be lambda * gamma^N, so the
duration can be given as parameter.
Implements CAbstractVETraces.
|
| virtual void
CStateVETraces::updateVFunction
|
( |
double |
td |
) |
[virtual] |
|
| |
Update the V-Function.
For all States in the Etraces the "td" value is multiplied with
the E-Trace factor (e.g. lambda^N*gamma^N$ for replacing E-Traces),
N is the time past since the state was active is calculated ,the
Value of the state is updated.
Implements CAbstractVETraces.
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|