CAdaptiveParameterFromValueCalculator Class Reference
Adaptive
Parameter Calculator which calculates the parameter's value from
the current value of a V-Function. More...
#include <cvfunctionlearner.h>
Inheritance diagram for
CAdaptiveParameterFromValueCalculator:
List
of all members.
|
Public Member Functions
|
|
|
CAdaptiveParameterFromValueCalculator
(CParameters
*targetObject,
string targetParameter,
CAbstractVFunction
*vFunction,
int stepsPerUpdate, int functionKind,
double param0, double paramScale,
double targetMin,
double targetMax)
|
|
|
~CAdaptiveParameterFromValueCalculator
()
|
|
virtual void
|
nextStep
(CStateCollection *oldState,
CAction *action,
CStateCollection
*newState)
|
| |
sends the Listener the S-A-S tuple from a
new step
|
|
virtual void
|
onParametersChanged
()
|
| |
Updates all data elements represents
parameters.
|
|
virtual void
|
resetCalculator
()
|
| |
Reset the targetValue.
|
Protected Attributes
|
|
CAbstractVFunction
*
|
vFunction |
|
int
|
nSteps |
|
int
|
nStepsPerUpdate |
|
double
|
value |
Detailed Description
Adaptive Parameter Calculator which calculates the parameter's
value from the current value of a V-Function.
The target value in this class is the current value of the
specified V-Function, so its target value is bounded. For more
details see the super class. Parameters of CAdaptiveParameterFromNStepsCalculator:
see CAdaptiveParameterBoundedValuesCalculator
Constructor & Destructor Documentation
|
CAdaptiveParameterFromValueCalculator::CAdaptiveParameterFromValueCalculator
|
( |
CParameters *
|
targetObject,
|
|
|
string |
targetParameter,
|
|
|
CAbstractVFunction
*
|
vFunction,
|
|
|
int |
stepsPerUpdate,
|
|
|
int |
functionKind,
|
|
|
double |
param0,
|
|
|
double |
paramScale,
|
|
|
double |
targetMin,
|
|
|
double |
targetMax |
|
) |
|
|
|
CAdaptiveParameterFromValueCalculator::~CAdaptiveParameterFromValueCalculator
|
( |
|
) |
|
|
Member Function Documentation
| |
sends the Listener the S-A-S tuple from a new step
Reimplemented from CSemiMDPListener.
|
| virtual void
CAdaptiveParameterFromValueCalculator::onParametersChanged
|
( |
|
) |
[inline,
virtual] |
|
| virtual void
CAdaptiveParameterFromValueCalculator::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:
|