SimpleCluster Class Reference
SimpleCluster Class. More...

Public Member Functions | |
SimpleCluster (unsigned int numNeurons, QString name="unnamed") | |
Construct a Cluster that contains numNeurons neuron. | |
SimpleCluster (ConfigurationParameters ¶ms, QString prefix) | |
Constructor. | |
virtual | ~SimpleCluster () |
Destructor. | |
void | randomize (double, double) |
Randomize Nothing ;-) | |
virtual void | save (ConfigurationParameters ¶ms, QString prefix) |
Save the actual status of parameters into the ConfigurationParameters object passed. | |
void | update () |
Update the outputs of neurons. | |
Static Public Member Functions | |
static void | describe (QString type) |
Add to Factory::typeDescriptions() the descriptions of all parameters and subgroups. |
Detailed Description
SimpleCluster Class.
Definition at line 34 of file simplecluster.h.
Constructor & Destructor Documentation
SimpleCluster | ( | unsigned int | numNeurons, |
QString | name = "unnamed" |
||
) |
Construct a Cluster that contains numNeurons neuron.
Definition at line 25 of file simplecluster.cpp.
SimpleCluster | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) |
Constructor.
Definition at line 29 of file simplecluster.cpp.
~SimpleCluster | ( | ) | [virtual] |
Destructor.
Definition at line 34 of file simplecluster.cpp.
Member Function Documentation
void describe | ( | QString | type | ) | [static] |
Add to Factory::typeDescriptions() the descriptions of all parameters and subgroups.
Reimplemented from Cluster.
Definition at line 48 of file simplecluster.cpp.
References ParameterSettable::addTypeDescription().
void randomize | ( | double | , |
double | |||
) | [inline, virtual] |
void save | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) | [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.
Reimplemented from Cluster.
Definition at line 42 of file simplecluster.cpp.
References ConfigurationParameters::startObjectParameters().
void update | ( | ) | [virtual] |
Update the outputs of neurons.
Implements Updatable.
Definition at line 37 of file simplecluster.cpp.
References OutputFunction::apply(), Cluster::inputs(), Cluster::outFunction(), Cluster::outputs(), and Cluster::setNeedReset().
The documentation for this class was generated from the following files:
- nnfw/include/simplecluster.h
- nnfw/src/simplecluster.cpp