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

CPendulumUpTimeCalculator Class Reference

#include <cpendulummodel.h>

Inheritance diagram for CPendulumUpTimeCalculator:

CSemiMDPListener CParameterObject CParameters List of all members.


Public Member Functions

  CPendulumUpTimeCalculator (double phi_up, double dt)
virtual void  nextStep (CStateCollection *oldState, CAction *action, CStateCollection *nextState)
  sends the Listener the S-A-S tuple from a new step

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

double  getUpTime ()
int  getUpSteps ()


Protected Attributes

double  phi_up
double  dt
int  up_steps

Constructor & Destructor Documentation

CPendulumUpTimeCalculator::CPendulumUpTimeCalculator double  phi_up,
double  dt
 

Member Function Documentation

int CPendulumUpTimeCalculator::getUpSteps  ) 
 
double CPendulumUpTimeCalculator::getUpTime  ) 
 
virtual void CPendulumUpTimeCalculator::newEpisode  )  [virtual]
 

tells the Listener that a new Episode has startet.

Reimplemented from CSemiMDPListener.

virtual void CPendulumUpTimeCalculator::nextStep CStateCollection oldState,
CAction action,
CStateCollection nextState
[virtual]
 

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

Reimplemented from CSemiMDPListener.


Member Data Documentation

double CPendulumUpTimeCalculator::dt [protected]
 
double CPendulumUpTimeCalculator::phi_up [protected]
 
int CPendulumUpTimeCalculator::up_steps [protected]
 

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