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

CValueCalculator Class Reference

#include <cevaluator.h>

Inheritance diagram for CValueCalculator:

CPolicyEvaluator CSemiMDPRewardListener CEvaluator CSemiMDPListener CParameterObject CParameters List of all members.


Public Member Functions

  CValueCalculator (CAgent *agent, CRewardFunction *rewardFunction, int nEpisodes, int nStepsPerEpisode, double gamma)
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

int  nSteps
double  value

Constructor & Destructor Documentation

CValueCalculator::CValueCalculator CAgent agent,
CRewardFunction rewardFunction,
int  nEpisodes,
int  nStepsPerEpisode,
double  gamma
 

Member Function Documentation

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

Implements CPolicyEvaluator.

virtual void CValueCalculator::newEpisode  )  [virtual]
 

tells the Listener that a new Episode has startet.

Reimplemented from CSemiMDPListener.

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

virtual function, to be implemented by subclass

Implements CPolicyEvaluator.


Member Data Documentation

int CValueCalculator::nSteps [protected]
 
double CValueCalculator::value [protected]
 

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