|
Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|

Public Member Functions | |
| virtual void | setupVertices () |
| Setup the internal structure of the class (allocate memories). | |
| virtual void | printParameters () const |
| void | loadEpochInputs (uint64_t currentStep, uint64_t endStep) |
| virtual void | loadEpochInputsToVertices (uint64_t currentStep, uint64_t endStep) |
| virtual void | loadParameters ()=0 |
| virtual void | createAllVertices (Layout &layout)=0 |
| virtual string | toString (int i) const =0 |
| virtual void | registerHistoryVariables ()=0 |
| template<class Archive > | |
| void | serialize (Archive &archive) |
| Cereal serialization method. | |
| virtual void | advanceVertices (AllEdges &edges, const EdgeIndexMap &edgeIndexMap)=0 |
| virtual void | integrateVertexInputs (AllEdges &edges, EdgeIndexMap &edgeIndexMap)=0 |
Protected Attributes | |
| int | size_ |
| Total number of vertices. | |
| log4cplus::Logger | fileLogger_ |
| log4cplus::Logger | vertexLogger_ |
| TODO: Should check to see if this file name "neurons" is hardcoded and change it to vertices. | |
Definition at line 43 of file AllVertices.h.
| AllVertices::AllVertices | ( | ) |
Definition at line 30 of file AllVertices.cpp.
|
pure virtual |
Update internal state of the indexed vertex (called by every simulation step). Notify outgoing edges if vertex has fired.
| edges | The edge list to search from. |
| edgeIndexMap | Reference to the EdgeIndexMap. |
Implemented in All911Vertices, and AllSpikingNeurons.
|
pure virtual |
Creates all the Vertices and assigns initial data for them.
| layout | Layout information of the network. |
Implemented in All911Vertices, AllIFNeurons, and AllIZHNeurons.
|
pure virtual |
Performs an integration operation per vertex using the inputs to the vertex.
| edges | The edge list to search from. |
| edgeIndexMap | Reference to the EdgeIndexMap. |
Implemented in All911Vertices, and AllSpikingNeurons.
| void AllVertices::loadEpochInputs | ( | uint64_t | currentStep, |
| uint64_t | endStep ) |
Loads all inputs scheduled to occur in the upcoming epoch. These are inputs occurring in between curStep (inclusive) and endStep (exclusive)
| curStep | The current simulation step |
| endStep | The end of epoch simulation step |
Loads all inputs scheduled to occur in the upcoming epoch. These are inputs occurring in between curStep (inclusive) and endStep (exclusive)
Definition at line 94 of file AllVertices.cpp.
|
virtual |
Loads all inputs scheduled to occur in the upcoming epoch. These are inputs occurring in between curStep (inclusive) and endStep (exclusive)
| curStep | The current simulation step |
| endStep | The end of epoch simulation step |
Reimplemented in All911Vertices.
Definition at line 102 of file AllVertices.cpp.
|
pure virtual |
Load member variables from configuration file. Registered to OperationManager as Operation::loadParameters
Implemented in All911Vertices, and AllIFNeurons.
|
virtual |
Prints out all parameters of the vertices to logging file. Registered to OperationManager as Operation::printParameters
Reimplemented in All911Vertices, AllIFNeurons, AllIZHNeurons, and AllLIFNeurons.
Definition at line 86 of file AllVertices.cpp.
|
pure virtual |
Helper function for recorder to register spike history variables for all vertices. Option 1: Register vertex information in vertexEvents_ one by one. Option 2: Register a vector of EventBuffer variables.
Implemented in All911Vertices, and AllSpikingNeurons.
| void AllVertices::serialize | ( | Archive & | archive | ) |
Cereal serialization method.
Definition at line 180 of file AllVertices.h.
|
virtual |
Setup the internal structure of the class (allocate memories).
Setup the internal structure of the class. Allocate memories to store all vertices' state.
Reimplemented in All911Vertices, AllIFNeurons, AllIZHNeurons, and AllSpikingNeurons.
Definition at line 79 of file AllVertices.cpp.
|
pure virtual |
Outputs state of the vertex chosen as a string.
| i | index of the vertex (in vertices) to output info from. |
Implemented in All911Vertices, AllIFNeurons, and AllIZHNeurons.
|
protected |
Definition at line 101 of file AllVertices.h.
|
protected |
Total number of vertices.
Definition at line 98 of file AllVertices.h.
|
protected |
TODO: Should check to see if this file name "neurons" is hardcoded and change it to vertices.
Definition at line 103 of file AllVertices.h.