CEpisodeHistory Class Reference
Interface
for all classes which are able to store episodes.
More...
#include <cepisodehistory.h>
Inheritance diagram for CEpisodeHistory:
List of all
members.
Detailed Description
Interface for all classes which are able to store episodes.
This class is a interface for all histories containing episode
objects. It provides abstract functions for fetching a specific
episode (getEpisode) and retrieving the number of episodes
(getNumEpisodes). These 2 functions must be implemented by all
classes implementing this interface (e.g. CAgentLogger).
The class also provides to functions for simulating a certain
episode (simulateEpisode) and simulating all episodes
(simulateAllEpisodes) to a specific listener. Since CAgentLogger implements this
interface it can be used to simulate the training trial to a single
listener. If you use more than one listener it is recommended to
use CStoredEpisodeModel.
- See also:
- CAgentLogger
Constructor & Destructor Documentation
| virtual
CEpisodeHistory::~CEpisodeHistory
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| virtual void
CEpisodeHistory::createStepToEpisodeMap
|
( |
|
) |
[virtual] |
|
| virtual CEpisode*
CEpisodeHistory::getEpisode
|
( |
int |
index |
) |
[pure
virtual] |
|
| virtual int
CEpisodeHistory::getNumEpisodes
|
( |
|
) |
[pure
virtual] |
|
| virtual int
CEpisodeHistory::getNumSteps
|
( |
|
) |
[virtual] |
|
| virtual void
CEpisodeHistory::getStep
|
( |
int |
index,
|
|
|
CStep *
|
step |
|
) |
[virtual] |
|
| |
virtual function, should retrieve the indexth step and writes it
in the listener
Implements CStepHistory.
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|