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

CRewardPerEpisodeCalculator Class Reference

#include <cevaluator.h>

Inheritance diagram for CRewardPerEpisodeCalculator:

CPolicyEvaluator CSemiMDPRewardListener CEvaluator CSemiMDPListener CParameterObject CParameters List of all members.


Public Member Functions

  CRewardPerEpisodeCalculator (CAgent *agent, CRewardFunction *rewardFunction, int nEpisodes, int nStepsPerEpisode)
virtual void  nextStep (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 Member Functions

virtual double  getEpisodeValue ()


Protected Attributes

double  reward

Constructor & Destructor Documentation

CRewardPerEpisodeCalculator::CRewardPerEpisodeCalculator CAgent agent,
CRewardFunction rewardFunction,
int  nEpisodes,
int  nStepsPerEpisode
 

Member Function Documentation

virtual double CRewardPerEpisodeCalculator::getEpisodeValue  )  [protected, virtual]
 

Implements CPolicyEvaluator.

virtual void CRewardPerEpisodeCalculator::newEpisode  )  [virtual]
 

tells the Listener that a new Episode has startet.

Reimplemented from CSemiMDPListener.

virtual void CRewardPerEpisodeCalculator::nextStep CStateCollection oldState,
CAction action,
double  reward,
CStateCollection nextState
[virtual]
 

virtual function, to be implemented by subclass

Implements CPolicyEvaluator.


Member Data Documentation

double CRewardPerEpisodeCalculator::reward [protected]
 

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