CRewardFunction Class Reference
Class for clalculating the
reward for the learning objects. More...
#include <crewardfunction.h>
Inheritance diagram for CRewardFunction:
List of all
members.
Detailed Description
Class for clalculating the reward for the learning objects.
The reward is calculated for each learning object separately.
The reward function objects have to return a double-valued reward
given an S-A-S tuple, this is done by the function getReward. So
for an own learning problem this class has to be derivated to
implement the getReward function. If you need access to the action
index, you have to provide an actionset for your reward
function.
Each listener who needs a reward is subclass of CSemiMDPRewardListener,
which maintains a reward function object and calculates the reward
for the listner.
- See also:
- CSemiMDPRewardListener
Constructor & Destructor Documentation
| virtual
CRewardFunction::~CRewardFunction
|
( |
|
) |
[inline,
virtual] |
|
Member Function Documentation
| |
Virtual function for calculating the reward.
Implemented in CFunctionComperator,
CGridWorldModel,
CMultiPoleModel,
CFeatureRewardFunction,
CStateReward,
CZeroReward,
CRewardFunctionFromValueFunction,
CSemiMDPLastNRewardFunction,
CTaxiDomain,
CTaxiHierarchicalBehaviour,
and CExtendedActionTransitionFunction.
|
The documentation for this class was generated from the following
file:
|