CEpisodeOutput Class Reference
This
Class writes each step and start of a new episode in readable form
to a file. More...
#include <cagentlogger.h>
Inheritance diagram for CEpisodeOutput:
List of all members.
|
Public Member Functions
|
|
|
CEpisodeOutput
(CStateProperties *featCalc,
CRewardFunction
*rewardFunction, CActionSet *actions, FILE
*output)
|
|
virtual
|
~CEpisodeOutput ()
|
|
virtual void
|
nextStep (CStateCollection *oldState,
CAction *action, double
reward, CStateCollection
*nextState)
|
| |
virtual function, to be implemented by
subclass
|
|
virtual void
|
intermediateStep
(CStateCollection *oldState,
CAction *action, double
reward, CStateCollection
*nextState)
|
| |
virtual function, to be implemented by
subclass
|
|
virtual void
|
newEpisode ()
|
| |
tells the Listener that a new Episode has
startet.
|
Protected Attributes
|
|
FILE *
|
stream |
|
int
|
nEpisodes |
|
int
|
nSteps |
Detailed Description
This Class writes each step and start of a new episode in readable
form to a file.
For each state the old state, action, reward and newstate is
written to the specified file. For the states only the specified
state is chossen from the state colection. This class can be used
for error tracking of the model or reward model and debugging.
Constructor & Destructor Documentation
| virtual
CEpisodeOutput::~CEpisodeOutput
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| virtual void
CEpisodeOutput::newEpisode
|
( |
|
) |
[virtual] |
|
| |
tells the Listener that a new Episode has startet.
Reimplemented from CSemiMDPListener.
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|