|
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 void | registerHistoryVariables ()=0 |
| Registers history variables for recording during simulation. | |
| virtual bool | updateConnections () |
| template<class Archive > | |
| void | serialize (Archive &archive) |
| Cereal serialization method. | |
| virtual void | updateEdgesWeights () |
Protected Attributes | |
| unique_ptr< AllEdges > | edges_ |
| unique_ptr< EdgeIndexMap > | synapseIndexMap_ |
| TODO: Rename to edgeIndexMap_ since this is a base class. | |
| log4cplus::Logger | fileLogger_ |
| log4cplus::Logger | edgeLogger_ |
Definition at line 38 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 74 of file Connections.cpp.
| EdgeIndexMap & Connections::getEdgeIndexMap | ( | ) | const |
Returns a reference to the EdgeIndexMap.
Definition at line 61 of file Connections.cpp.
| AllEdges & Connections::getEdges | ( | ) | const |
Returns reference to Synapses/Edges.
Definition at line 56 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.
Reimplemented in ConnStatic.
Definition at line 66 of file Connections.cpp.
|
pure virtual |
Registers history variables for recording during simulation.
Implemented in Connections911, ConnGrowth, and ConnStatic.
| void Connections::serialize | ( | Archive & | archive | ) |
Cereal serialization method.
TODO: Rename to synapseIndexMap since this is a base class Cereal serialization method
Definition at line 112 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.
Reimplemented in Connections911, and ConnGrowth.
Definition at line 89 of file Connections.cpp.
|
virtual |
Update the weight of the edges in the simulation. Note: Platform Dependent.
Reimplemented in ConnGrowth.
Definition at line 104 of file Connections.cpp.
|
protected |
Definition at line 107 of file Connections.h.
|
protected |
Definition at line 102 of file Connections.h.
|
protected |
Definition at line 106 of file Connections.h.
|
protected |
TODO: Rename to edgeIndexMap_ since this is a base class.
Definition at line 104 of file Connections.h.