CFeatureStateRewardFunction Class Reference
#include
<crewardmodel.h>
Inheritance diagram for CFeatureStateRewardFunction:
List of all
members.
Constructor & Destructor Documentation
|
CFeatureStateRewardFunction::CFeatureStateRewardFunction
|
( |
CStateProperties *
|
discretizer |
) |
|
|
| virtual
CFeatureStateRewardFunction::~CFeatureStateRewardFunction
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| virtual double
CFeatureStateRewardFunction::getReward
|
( |
int |
state |
) |
[virtual] |
|
| virtual double
CFeatureStateRewardFunction::getReward
|
( |
int |
oldState,
|
|
|
CAction *
|
action,
|
|
|
int |
newState |
|
) |
[virtual] |
|
| |
The function to be implemented by the subclasses, has to return
a reward based on discrete integer states.
Implements CFeatureRewardFunction.
|
| virtual void
CFeatureStateRewardFunction::setReward
|
( |
int |
state,
|
|
|
double |
reward |
|
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|