#include <ArchiveStatistic.h>
Inheritance diagram for ArchiveStatistic:

Public Member Functions | |
| ArchiveStatistic (unsigned int *fNeurCount, unsigned int *fNeurTotal) | |
| unsigned int | getID () |
| unsigned int | getType () |
| virtual void | recalculate (unsigned int neurID) |
| virtual void | recalculate () |
| virtual void | recalculateNeuronGrp () |
| void | resetFiringNeuronCount () |
| void | resetFiringNeuronTotal () |
| void | setID (unsigned int id) |
| virtual QString | toQString ()=0 |
| virtual | ~ArchiveStatistic () |
Static Public Attributes | |
| static const unsigned int | NEURON_GROUP = 10 |
| static const unsigned int | NEURON_ID = 20 |
Protected Attributes | |
| unsigned int * | firingNeuronCount |
| unsigned int * | firingNeuronTotal |
| unsigned int | type |
Static Protected Attributes | |
| static dense_hash_map< unsigned int, bool, hash< unsigned int > > * | neuronIDHashMap |
Private Attributes | |
| unsigned int | ID |
Friends | |
| class | NetworkDataXmlHandler |
Definition at line 41 of file ArchiveStatistic.h.
|
||||||||||||
|
Constructor. Definition at line 45 of file ArchiveStatistic.cpp. References firingNeuronCount, firingNeuronTotal, NEURON_ID, and type. |
|
|
Destructor. Definition at line 56 of file ArchiveStatistic.cpp. |
|
|
Returns the ID given to the class. Definition at line 64 of file ArchiveStatistic.cpp. References ID. |
|
|
Returns the type of the class. Definition at line 70 of file ArchiveStatistic.cpp. References type. |
|
|
Default implementation of this method, which gets called if it is not overridden by a subclass. Definition at line 83 of file ArchiveStatistic.cpp. |
|
|
Default implementation of this method, which gets called if it is not overridden by a subclass. Reimplemented in RangeArchiveStatistic, AndArchiveStatistic, OrArchiveStatistic, and NeuronIDArchiveStatistic. Definition at line 77 of file ArchiveStatistic.cpp. |
|
|
Default implementation of this method, which gets called if it is not overridden by a subclass. Reimplemented in NeuronGrpArchiveStatistic. Definition at line 89 of file ArchiveStatistic.cpp. |
|
|
Resets the firing neuron count. Generally called when starting to load the data for a timestep. Definition at line 95 of file ArchiveStatistic.cpp. References firingNeuronCount. |
|
|
Resets the firing neuron total. Generally called when rewinding the archive or after editing the statistics. Definition at line 102 of file ArchiveStatistic.cpp. References firingNeuronTotal. |
|
|
Sets the id. Definition at line 108 of file ArchiveStatistic.cpp. References ID. |
|
|
Implemented in NeuronGrpArchiveStatistic, RangeArchiveStatistic, AndArchiveStatistic, OrArchiveStatistic, and NeuronIDArchiveStatistic. |
|
|
Definition at line 66 of file ArchiveStatistic.h. |
|
|
The number of neurons firing at the current timestep. This is a pointer to the variable in the ArchiveStatisticsHolder struct, which contains one or more ArchiveStatistics. Definition at line 82 of file ArchiveStatistic.h. Referenced by ArchiveStatistic(), NeuronIDArchiveStatistic::recalculate(), OrArchiveStatistic::recalculate(), AndArchiveStatistic::recalculate(), RangeArchiveStatistic::recalculate(), NeuronGrpArchiveStatistic::recalculateNeuronGrp(), and resetFiringNeuronCount(). |
|
|
The total number of neurons that have fired so far. This is a pointer to the variable in the ArchiveStatisticsHolder struct, which contains one or more ArchiveStatistics. Definition at line 87 of file ArchiveStatistic.h. Referenced by ArchiveStatistic(), NeuronIDArchiveStatistic::recalculate(), OrArchiveStatistic::recalculate(), AndArchiveStatistic::recalculate(), RangeArchiveStatistic::recalculate(), NeuronGrpArchiveStatistic::recalculateNeuronGrp(), and resetFiringNeuronTotal(). |
|
|
The unique id of this archive statistic. Used for deleting them. Definition at line 93 of file ArchiveStatistic.h. |
|
|
This statistic is monitoring an entire neuron group. Definition at line 59 of file ArchiveStatistic.h. Referenced by NetworkDataXmlHandler::addArchiveStatistics(), ArchiveStatisticsDialog::ArchiveStatisticsDialog(), and NeuronGrpArchiveStatistic::NeuronGrpArchiveStatistic(). |
|
|
This statistic is monitoring a selection of neuron ids. Definition at line 62 of file ArchiveStatistic.h. Referenced by ArchiveStatistic(). |
|
|
Pointer to the hash map in the NetworkDataXmlHandler. At each timestep the firing neuron ids are placed in this map and then the archive statistics are invoked to carry out their analysis. Definition at line 77 of file ArchiveStatistic.h. Referenced by NetworkDataXmlHandler::NetworkDataXmlHandler(), NeuronIDArchiveStatistic::recalculate(), OrArchiveStatistic::recalculate(), AndArchiveStatistic::recalculate(), and RangeArchiveStatistic::recalculate(). |
|
|
Is this monitoring a neuron group or a set of neuron ids?. Definition at line 72 of file ArchiveStatistic.h. Referenced by ArchiveStatistic(), getType(), and NeuronGrpArchiveStatistic::NeuronGrpArchiveStatistic(). |
1.4.4