CStepHistory Class Reference
Class
mantaining an unordered set of steps, which can be used for
Learning. More...
#include <chistory.h>
Inheritance diagram for CStepHistory:
List of all members.
Detailed Description
Class mantaining an unordered set of steps, which can be used for
Learning.
This class provides an interface from which you can retrieve any
step from the step history. This is done by getStep(int index, CStep
*step). These function must be implemented by the
subclasses.
Further the class has 2 functions for showing a semiMDP listener
the single, not related steps. simulateSteps(..) simulates "num"
random steps to the given listener, simulateAllSteps simulates the
number of steps in the history to the current listener. This method
can only be used for learning algorithms without etraces, since the
steps shown to the listener are not related, so you have to set the
Parameter "Lambda" to zero if you want to use the single steps
updates for normal learners.
Constructor & Destructor Documentation
| virtual
CStepHistory::~CStepHistory
|
( |
|
) |
[inline,
virtual] |
|
Member Function Documentation
| virtual int
CStepHistory::getNumSteps
|
( |
|
) |
[pure
virtual] |
|
| virtual void
CStepHistory::getStep
|
( |
int |
index,
|
|
|
CStep *
|
step |
|
) |
[pure
virtual] |
|
| |
virtual function, should retrieve the indexth step and writes it
in the listener
Implemented in CEpisode, and CEpisodeHistory.
|
The documentation for this class was generated from the following
file:
|