Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Public Member Functions | |
virtual | ~Connections ()=default |
Destructor. | |
AllEdges & | getEdges () const |
Returns reference to Synapses/Edges. | |
EdgeIndexMap & | getEdgeIndexMap () const |
Returns a reference to the EdgeIndexMap. | |
void | createEdgeIndexMap () |
Calls Synapses to create EdgeIndexMap and stores it as a member variable. | |
virtual void | setup ()=0 |
Setup the internal structure of the class (allocate memories and initialize them). | |
virtual void | registerGraphProperties () |
Register edge properties with the GraphManager. | |
virtual void | loadParameters ()=0 |
virtual void | printParameters () const =0 |
virtual bool | updateConnections (AllVertices &vertices) |
template<class Archive > | |
void | serialize (Archive &archive) |
Cereal serialization method. | |
virtual void | updateSynapsesWeights () |
Protected Attributes | |
unique_ptr< AllEdges > | edges_ |
unique_ptr< EdgeIndexMap > | synapseIndexMap_ |
log4cplus::Logger | fileLogger_ |
log4cplus::Logger | edgeLogger_ |
Definition at line 40 of file Connections.h.
Connections::Connections | ( | ) |
Definition at line 25 of file Connections.cpp.
void Connections::createEdgeIndexMap | ( | ) |
Calls Synapses to create EdgeIndexMap and stores it as a member variable.
Definition at line 70 of file Connections.cpp.
EdgeIndexMap & Connections::getEdgeIndexMap | ( | ) | const |
Returns a reference to the EdgeIndexMap.
Definition at line 57 of file Connections.cpp.
AllEdges & Connections::getEdges | ( | ) | const |
Returns reference to Synapses/Edges.
Definition at line 52 of file Connections.cpp.
|
pure virtual |
Load member variables from configuration file. Registered to OperationManager as Operations::op::loadParameters
Implemented in Connections911, ConnGrowth, and ConnStatic.
|
pure virtual |
Prints out all parameters to the logging file. Registered to OperationManager as Operation::printParameters
Implemented in Connections911, ConnGrowth, and ConnStatic.
|
virtual |
Register edge properties with the GraphManager.
Definition at line 62 of file Connections.cpp.
void Connections::serialize | ( | Archive & | archive | ) |
Cereal serialization method.
Definition at line 111 of file Connections.h.
|
pure virtual |
Setup the internal structure of the class (allocate memories and initialize them).
Implemented in Connections911, ConnGrowth, and ConnStatic.
|
virtual |
Update the connections status in every epoch.
neurons | The Neuron list to search from. |
Update the connections status in every epoch.
vertices | The vertex list to search from. |
Reimplemented in Connections911, and ConnGrowth.
Definition at line 86 of file Connections.cpp.
|
virtual |
Update the weight of the Synapses in the simulation. Note: Platform Dependent.
Reimplemented in ConnGrowth.
Definition at line 102 of file Connections.cpp.
|
protected |
Definition at line 107 of file Connections.h.
|
protected |
Definition at line 103 of file Connections.h.
|
protected |
Definition at line 106 of file Connections.h.
|
protected |
Definition at line 104 of file Connections.h.