CAdaptiveParameterFromNStepsCalculator Class Reference
Adaptive
Parameter Calculator which calculates the parameter's value from
the number of learning steps. More...
#include <cagentlistener.h>
Inheritance diagram for
CAdaptiveParameterFromNStepsCalculator:
List
of all members.
Detailed Description
Adaptive Parameter Calculator which calculates the parameter's
value from the number of learning steps.
The target value in this class is the number of learning steps,
so its target value is unbounded. The target value gets resetted to
0 if a new learning trial has started. This adaptive parameter has
to be added to the agent's listener list in order to count the
number of steps. For more details see the super class. Parameters
of CAdaptiveParameterFromNStepsCalculator: see CAdaptiveParameterUnBoundedValuesCalculator
Constructor & Destructor Documentation
|
CAdaptiveParameterFromNStepsCalculator::CAdaptiveParameterFromNStepsCalculator
|
( |
CParameters *
|
targetObject,
|
|
|
string |
targetParameter,
|
|
|
int |
nStepsPerUpdate,
|
|
|
int |
functionKind,
|
|
|
double |
param0,
|
|
|
double |
paramScale,
|
|
|
double |
targetOffset,
|
|
|
double |
targetScale |
|
) |
|
|
| virtual
CAdaptiveParameterFromNStepsCalculator::~CAdaptiveParameterFromNStepsCalculator
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| |
sends the Listener the S-A-S tuple from a new step
Reimplemented from CSemiMDPListener.
|
| virtual void
CAdaptiveParameterFromNStepsCalculator::onParametersChanged
|
( |
|
) |
[inline,
virtual] |
|
| virtual void
CAdaptiveParameterFromNStepsCalculator::resetCalculator
|
( |
|
) |
[virtual] |
|
| |
Reset the targetValue.
This function is used for resetting for example the steps or
number of episodes when learning is restarted. (used for parameter
evaluation)
Implements CAdaptiveParameterCalculator.
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|