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

CMultiPoleModel Class Reference

#include <cmultipolemodel.h>

Inheritance diagram for CMultiPoleModel:

CEnvironmentModel CRewardFunction CStateObject List of all members.


Public Member Functions

  CMultiPoleModel ()
virtual  ~CMultiPoleModel ()
virtual double  getReward (CStateCollection *oldState, CAction *action, CStateCollection *newState)
  returns the reward for the transition, implements the CRewardFunction interface

virtual void  getState (CState *state)
  fetches the internal state and stores it in the state object

virtual void  doResetModel ()
  resets the model



Protected Member Functions

virtual void  doNextState (CPrimitiveAction *action)
  calculate the next state based on the action



Protected Attributes

double  x
  internal state variables

double  x_dot
double  theta
double  theta_dot

Constructor & Destructor Documentation

CMultiPoleModel::CMultiPoleModel  ) 
 
virtual CMultiPoleModel::~CMultiPoleModel  )  [virtual]
 

Member Function Documentation

virtual void CMultiPoleModel::doNextState CPrimitiveAction action  )  [protected, virtual]
 

calculate the next state based on the action

Implements CEnvironmentModel.

virtual void CMultiPoleModel::doResetModel  )  [virtual]
 

resets the model

Reimplemented from CEnvironmentModel.

virtual double CMultiPoleModel::getReward CStateCollection oldState,
CAction action,
CStateCollection newState
[virtual]
 

returns the reward for the transition, implements the CRewardFunction interface

Implements CRewardFunction.

virtual void CMultiPoleModel::getState CState state  )  [virtual]
 

fetches the internal state and stores it in the state object

Reimplemented from CEnvironmentModel.


Member Data Documentation

double CMultiPoleModel::theta [protected]
 
double CMultiPoleModel::theta_dot [protected]
 
double CMultiPoleModel::x [protected]
 

internal state variables

double CMultiPoleModel::x_dot [protected]
 

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