Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
Loading...
Searching...
No Matches
AllVertices Class Referenceabstract
Inheritance diagram for AllVertices:

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_
 

Detailed Description

Definition at line 39 of file AllVertices.h.

Constructor & Destructor Documentation

◆ AllVertices()

AllVertices::AllVertices ( )

Definition at line 13 of file AllVertices.cpp.

Member Function Documentation

◆ advanceVertices()

virtual void AllVertices::advanceVertices ( AllEdges & edges,
const EdgeIndexMap & edgeIndexMap )
pure virtual

Update internal state of the indexed Neuron (called by every simulation step). Notify outgoing synapses if vertex has fired.

Parameters
edgesThe Synapse list to search from.
edgeIndexMapReference to the EdgeIndexMap.

Implemented in All911Vertices, and AllSpikingNeurons.

◆ createAllVertices()

virtual void AllVertices::createAllVertices ( Layout & layout)
pure virtual

Creates all the Vertices and assigns initial data for them.

Parameters
layoutLayout information of the neural network.

Implemented in All911Vertices, AllIFNeurons, and AllIZHNeurons.

◆ loadEpochInputs()

void AllVertices::loadEpochInputs ( uint64_t currentStep,
uint64_t endStep )
virtual

Loads all inputs scheduled to occur in the upcoming epoch. These are inputs occurring in between curStep (inclusive) and endStep (exclusive)

Parameters
curStepThe current simulation step
endStepThe 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.

◆ loadParameters()

virtual void AllVertices::loadParameters ( )
pure virtual

Load member variables from configuration file. Registered to OperationManager as Operation::loadParameters

Implemented in All911Vertices, and AllIFNeurons.

◆ printParameters()

void AllVertices::printParameters ( ) const
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.

◆ registerHistoryVariables()

virtual void AllVertices::registerHistoryVariables ( )
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.

◆ serialize()

template<class Archive >
void AllVertices::serialize ( Archive & archive)

Cereal serialization method.

Definition at line 161 of file AllVertices.h.

◆ setupVertices()

void AllVertices::setupVertices ( )
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.

◆ toString()

virtual string AllVertices::toString ( int i) const
pure virtual

Outputs state of the vertex chosen as a string.

Parameters
iindex of the vertex (in vertices) to output info from.
Returns
the complete state of the vertex.

Implemented in All911Vertices, AllIFNeurons, and AllIZHNeurons.

Member Data Documentation

◆ fileLogger_

log4cplus::Logger AllVertices::fileLogger_
protected

Definition at line 96 of file AllVertices.h.

◆ size_

int AllVertices::size_
protected

Total number of vertices.

Definition at line 93 of file AllVertices.h.

◆ summationPoints_

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.

◆ vertexLogger_

log4cplus::Logger AllVertices::vertexLogger_
protected

Definition at line 97 of file AllVertices.h.


The documentation for this class was generated from the following files: