CStateReward Class Reference
Reward
Function that only depends on the current state.
More...
#include <crewardfunction.h>
Inheritance diagram for CStateReward:
List of all members.
Detailed Description
Reward Function that only depends on the current state.
This class is the interface for all reward functions that only
depend on the current (model) state. All subclasses have to
implement the function getStateReward, which is called by the
getReward function of the class with the newState object as
argument.
- The class also offers the function getInputDerivation where the
derivation of the reward function with respect to the model state
can be calculated. This is needed by some algorithm (analytical
pegasus), you will have to implement this function if you want to
use these algorithms.
Constructor & Destructor Documentation
| virtual
CStateReward::~CStateReward
|
( |
|
) |
[inline,
virtual] |
|
Member Function Documentation
| virtual void
CStateReward::getInputDerivation
|
( |
CState *
|
, |
|
|
ColumnVector * |
|
|
) |
[inline,
virtual] |
|
| virtual double
CStateReward::getStateReward
|
( |
CState *
|
modelState |
) |
[pure
virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|