Reinforcement Learning Toolbox 2.0
last updated:
General
Documentation
Manual
Tutorial
Class Reference
Master Thesis
Examples
Related Papers
Downloads
Links
News
mailto:webmaster
Main Page     Class Hierarchy   Compound List   File List   Compound Members   File Members

CStepHistory Class Reference

Class mantaining an unordered set of steps, which can be used for Learning. More...

#include <chistory.h>

Inheritance diagram for CStepHistory:

CStateModifiersObject CLearnDataObject CActionObject CStateObject CParameterObject CParameters CEpisode CEpisodeHistory CAgentLogger CEpisodeHistorySubset List of all members.


Public Member Functions

  CStepHistory (CStateProperties *properties, CActionSet *actions)
virtual  ~CStepHistory ()
virtual int  getNumSteps ()=0
virtual void  getStep (int index, CStep *step)=0
  virtual function, should retrieve the indexth step and writes it in the listener


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

CStepHistory::CStepHistory CStateProperties properties,
CActionSet actions
 
virtual CStepHistory::~CStepHistory  )  [inline, virtual]
 

Member Function Documentation

virtual int CStepHistory::getNumSteps  )  [pure virtual]
 

Implemented in CEpisode, and CEpisodeHistory.

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: