CBatchStepUpdate Class Reference
Class for doing Batch
Updates. More...
#include <chistory.h>
Inheritance diagram for CBatchStepUpdate:
List of all
members.
Detailed Description
Class for doing Batch Updates.
Another possibility to improve performance is the batch update.
In CBatchStepUpdate after each episode the steps from a logger can
be showed to the assigned listener again. This can improve learning
specially for TD-Learning algorithms, but be careful, it can also
falsify the state transition distributions, especially if the
problem doesn't have exactly the Markov property. The class needs
obviously a listener and a assigned step history. Additionaly you
have to determine the number of steps which are shown to the
listener.
Constructor & Destructor Documentation
| virtual
CBatchStepUpdate::~CBatchStepUpdate
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| virtual void
CBatchStepUpdate::newEpisode
|
( |
|
) |
[virtual] |
|
| |
tells the Listener that a new Episode has startet.
Reimplemented from CSemiMDPListener.
|
| |
sends the Listener the S-A-S tuple from a new step
Reimplemented from CSemiMDPListener.
|
| virtual void
CBatchStepUpdate::simulateAllSteps
|
( |
CSemiMDPListener *
|
listener |
) |
[virtual] |
|
| |
simulates "getNumSteps)" random steps to the listener
Calls simulateSteps(listener,
getNumSteps())
|
| virtual void
CBatchStepUpdate::simulateSteps
|
( |
CSemiMDPListener *
|
listener,
|
|
|
int |
num |
|
) |
[virtual] |
|
| |
simulates num random steps to the listener
Since the sequenced states shown to the listener are not
related, a newEpisode event is send to the listener after each
step.
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|