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 |
virtual void | loadEpochInputs (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 |
Public Attributes | |
vector< BGFLOAT > | summationPoints_ |
Protected Attributes | |
int | size_ |
Total number of vertices. | |
log4cplus::Logger | fileLogger_ |
log4cplus::Logger | vertexLogger_ |
Definition at line 39 of file AllVertices.h.
AllVertices::AllVertices | ( | ) |
Definition at line 13 of file AllVertices.cpp.
|
pure virtual |
Update internal state of the indexed Neuron (called by every simulation step). Notify outgoing synapses if vertex has fired.
edges | The Synapse 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 neural network. |
Implemented in All911Vertices, AllIFNeurons, and AllIZHNeurons.
|
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 |
Loads all inputs scheduled to occur in the upcoming epoch. These are inputs occurring in between curStep (inclusive) and endStep (exclusive)
Reimplemented in All911Vertices.
Definition at line 55 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 neurons to logging file. Registered to OperationManager as Operation::printParameters
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 47 of file AllVertices.cpp.
|
pure virtual |
Helper function for recorder to register spike history variables for all neurons. Option 1: Register neuron 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 161 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 neurons' state.
Reimplemented in All911Vertices, AllIFNeurons, AllIZHNeurons, and AllSpikingNeurons.
Definition at line 31 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 96 of file AllVertices.h.
|
protected |
Total number of vertices.
Definition at line 93 of file AllVertices.h.
vector<BGFLOAT> AllVertices::summationPoints_ |
The summation point for each vertex. Summation points are places where the synapses connected to the vertex apply (summed up) their PSRs (Post-Synaptic-Response). On the next advance cycle, vertices add the values stored in their corresponding summation points to their Vm and resets the summation points to zero
Definition at line 81 of file AllVertices.h.
|
protected |
Definition at line 97 of file AllVertices.h.