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

CDivergentVFunctionException Class Reference

This exception is thrown if a value function has become divergent. More...

#include <cvfunction.h>

Inheritance diagram for CDivergentVFunctionException:

CMyException List of all members.


Public Member Functions

  CDivergentVFunctionException (string vFunctionName, CAbstractVFunction *vFunction, CState *state, double value)
virtual  ~CDivergentVFunctionException ()


Public Attributes

string  vFunctionName
CAbstractVFunction vFunction
CState state
double  value


Protected Member Functions

virtual string  getInnerErrorMsg ()

Detailed Description

This exception is thrown if a value function has become divergent.

There can be many reasons why a value function can become divergent, for example the learning rate is too high. The exception is thrown if the absolute value of a state gets higher than 100000. If your value function is doublely that high, please scale your reward function.


Constructor & Destructor Documentation

CDivergentVFunctionException::CDivergentVFunctionException string  vFunctionName,
CAbstractVFunction vFunction,
CState state,
double  value
 
virtual CDivergentVFunctionException::~CDivergentVFunctionException  )  [inline, virtual]
 

Member Function Documentation

virtual string CDivergentVFunctionException::getInnerErrorMsg  )  [protected, virtual]
 

Implements CMyException.


Member Data Documentation

CState* CDivergentVFunctionException::state
 
double CDivergentVFunctionException::value
 
CAbstractVFunction* CDivergentVFunctionException::vFunction
 
string CDivergentVFunctionException::vFunctionName
 

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