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

CGridWorldController Class Reference

#include <cgridworldmodel.h>

Inheritance diagram for CGridWorldController:

CAgentStatisticController CSemiMDPListener CAgentController CParameterObject CActionObject CParameterObject CParameters CParameters List of all members.


Public Member Functions

  CGridWorldController (CGridWorld *gridworld, CActionSet *actions)
virtual  ~CGridWorldController ()
void  init ()
virtual CAction getNextAction (CStateCollection *state, CActionStatistics *stat)
virtual void  nextStep (CStateCollection *, CAction *, CStateCollection *)
  sends the Listener the S-A-S tuple from a new step

virtual void  newEpisode ()
  tells the Listener that a new Episode has startet.



Protected Attributes

CGridWorld gridworld
std::vector< GridControllerRecord > *  record
std::set< std::pair< unsigned

int, unsigned int > * > * 
target_points
int  lastXMove
int  lastYMove


Classes

struct   GridControllerRecord

Constructor & Destructor Documentation

CGridWorldController::CGridWorldController CGridWorld gridworld,
CActionSet actions
 
virtual CGridWorldController::~CGridWorldController  )  [virtual]
 

Member Function Documentation

virtual CAction* CGridWorldController::getNextAction CStateCollection state,
CActionStatistics stat
[virtual]
 
void CGridWorldController::init  ) 
 
virtual void CGridWorldController::newEpisode  )  [virtual]
 

tells the Listener that a new Episode has startet.

Reimplemented from CSemiMDPListener.

virtual void CGridWorldController::nextStep CStateCollection ,
CAction ,
CStateCollection
[inline, virtual]
 

sends the Listener the S-A-S tuple from a new step

Reimplemented from CSemiMDPListener.


Member Data Documentation

CGridWorld* CGridWorldController::gridworld [protected]
 
int CGridWorldController::lastXMove [protected]
 
int CGridWorldController::lastYMove [protected]
 
std::vector<GridControllerRecord>* CGridWorldController::record [protected]
 
std::set<std::pair<unsigned int, unsigned int>*>* CGridWorldController::target_points [protected]
 

The documentation for this class was generated from the following file: