LeakyIntegrator Function !! More...
![Inheritance graph](classfarsa_1_1LeakyIntegratorFunction__inherit__graph.png)
Public Member Functions | |
LeakyIntegratorFunction () | |
Default constructor. More... | |
LeakyIntegratorFunction (const DoubleVector &deltas) | |
Construct a LeakyIntegrator with deltas specified. More... | |
virtual | ~LeakyIntegratorFunction () |
Destructor. More... | |
virtual void | apply (DoubleVector &inputs, DoubleVector &outputs) |
Implement the updating method it computes: y(t) <- delta * y(t-1) + (1.0-delta) * inputs. More... | |
virtual void | clusterSetted () |
resize itself to fit the size of Cluster More... | |
virtual void | configure (ConfigurationParameters ¶ms, QString prefix) |
Configures the object using a ConfigurationParameters object. More... | |
virtual void | save (ConfigurationParameters ¶ms, QString prefix) |
Save the actual status of parameters into the ConfigurationParameters object passed. More... | |
void | zeroingStatus () |
Zeroing the status. More... | |
![]() | |
OutputFunction () | |
Constructor. More... | |
virtual | ~OutputFunction () |
Destructor. More... | |
double | apply (double input) |
Calculate the outputs of a single neuron. More... | |
virtual bool | derivate (const DoubleVector &inputs, const DoubleVector &outputs, DoubleVector &derivates) const |
Compute the derivate of the function represent Given the input of neurons and the corresponding output of neurons, it calculate the derivate. More... | |
void | setCluster (Cluster *cl) |
Set the Cluster which it is inserted This is automatically called, and in normal case you don't have to call it directly. More... | |
![]() | |
void | addObserver (RuntimeParameterObserver *obs) |
T | getRuntimeParameter (QString paramName) |
virtual ParameterSettableUI * | getUIManager () |
virtual void | postConfigureInitialization () |
void | removeObserver (RuntimeParameterObserver *obs) |
void | setRuntimeParameter (QString paramName, T newvalue) |
QString | typeName () const |
Public Attributes | |
DoubleVector | delta |
delta is the leak rate of the function More... | |
DoubleVector | outprev |
previous outputs More... | |
![]() | |
AllowMultiple | |
Default | |
IsList | |
IsMandatory | |
Additional Inherited Members | |
![]() | |
enum | Property |
![]() | |
static void | describe (QString type) |
static QString | fullParameterDescriptionPath (QString type, QString param) |
static QString | fullSubgroupDescriptionPath (QString type, QString sub) |
![]() | |
static const double | Infinity |
static const int | MaxInteger |
static const int | MinInteger |
![]() | |
void | notifyChangesToParam (QString paramName) |
![]() | |
static Descriptor | addTypeDescription (QString type, QString shortHelp, QString longHelp=QString("")) |
static void | setGraphicalEditor (QString type) |
![]() | |
Cluster * | clusterv |
Cluster on which the OutputFunction is inserted. More... | |
Detailed Description
LeakyIntegrator Function !!
Definition at line 406 of file liboutputfunctions.h.
Constructor & Destructor Documentation
Default constructor.
Definition at line 497 of file liboutputfunctions.cpp.
LeakyIntegratorFunction | ( | const DoubleVector & | deltas | ) |
Construct a LeakyIntegrator with deltas specified.
Definition at line 502 of file liboutputfunctions.cpp.
|
inlinevirtual |
Destructor.
Definition at line 413 of file liboutputfunctions.h.
Member Function Documentation
|
virtual |
Implement the updating method
it computes: y(t) <- delta * y(t-1) + (1.0-delta) * inputs.
Implements OutputFunction.
Definition at line 506 of file liboutputfunctions.cpp.
References LeakyIntegratorFunction::delta, and LeakyIntegratorFunction::outprev.
|
virtual |
resize itself to fit the size of Cluster
Reimplemented from OutputFunction.
Definition at line 518 of file liboutputfunctions.cpp.
References OutputFunction::clusterv, LeakyIntegratorFunction::delta, Cluster::numNeurons(), and LeakyIntegratorFunction::outprev.
|
virtual |
Configures the object using a ConfigurationParameters object.
- Parameters
-
params the configuration parameters object with parameters to use prefix the prefix to use to access the object configuration parameters. This is guaranteed to end with the separator character when called by the factory, so you don't need to add one
Implements ParameterSettableWithConfigureFunction.
Definition at line 525 of file liboutputfunctions.cpp.
References LeakyIntegratorFunction::delta, ConfigurationParameters::getValue(), and LeakyIntegratorFunction::outprev.
|
virtual |
Save the actual status of parameters into the ConfigurationParameters object passed.
- Parameters
-
params the configuration parameters object on which save actual parameters prefix the prefix to use to access the object configuration parameters.
Implements ParameterSettable.
Definition at line 557 of file liboutputfunctions.cpp.
References ConfigurationParameters::createParameter(), LeakyIntegratorFunction::delta, LeakyIntegratorFunction::outprev, and ConfigurationParameters::startObjectParameters().
void zeroingStatus | ( | ) |
Zeroing the status.
Definition at line 514 of file liboutputfunctions.cpp.
References LeakyIntegratorFunction::outprev.
Member Data Documentation
DoubleVector delta |
delta is the leak rate of the function
Definition at line 442 of file liboutputfunctions.h.
Referenced by LeakyIntegratorFunction::apply(), LeakyIntegratorFunction::clusterSetted(), LeakyIntegratorFunction::configure(), and LeakyIntegratorFunction::save().
DoubleVector outprev |
previous outputs
Definition at line 444 of file liboutputfunctions.h.
Referenced by LeakyIntegratorFunction::apply(), LeakyIntegratorFunction::clusterSetted(), LeakyIntegratorFunction::configure(), LeakyIntegratorFunction::save(), and LeakyIntegratorFunction::zeroingStatus().
The documentation for this class was generated from the following files:
- nnfw/include/liboutputfunctions.h
- nnfw/src/liboutputfunctions.cpp