CDivergentVFunctionException Class Reference
This exception is thrown
if a value function has become divergent.
More...
#include <cvfunction.h>
Inheritance diagram for CDivergentVFunctionException:
List of
all members.
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] |
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|