Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Public Member Functions | |
ConnStatic () | |
Default constructor for ConnStatic. | |
virtual void | registerGraphProperties () override |
Register vertex properties with the GraphManager. | |
virtual void | setup () override |
Set up the connections in the network. | |
virtual void | loadParameters () override |
Loads parameters related to connections. | |
virtual void | printParameters () const override |
Prints the parameters of the connection. | |
virtual void | registerHistoryVariables () override |
Registers history variables for recording during simulation. | |
const vector< BGFLOAT > & | getWCurrentEpoch () const |
Get array of vertex weights. | |
const vector< int > & | getSourceVertexIndexCurrentEpoch () const |
Get all edge source vertex indices. | |
const vector< int > & | getDestVertexIndexCurrentEpoch () const |
Get all edge destination vertex indices. | |
template<class Archive > | |
void | serialize (Archive &archive) |
Cereal serialization method. | |
![]() | |
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 bool | updateConnections () |
template<class Archive > | |
void | serialize (Archive &archive) |
Cereal serialization method. | |
virtual void | updateEdgesWeights () |
Static Public Member Functions | |
static Connections * | Create () |
Additional Inherited Members | |
![]() | |
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 36 of file ConnStatic.h.
ConnStatic::ConnStatic | ( | ) |
Default constructor for ConnStatic.
Definition at line 26 of file ConnStatic.cpp.
|
inlinestatic |
Definition at line 42 of file ConnStatic.h.
|
inline |
Get all edge destination vertex indices.
Definition at line 81 of file ConnStatic.h.
|
inline |
Get all edge source vertex indices.
Definition at line 75 of file ConnStatic.h.
|
inline |
Get array of vertex weights.
Definition at line 68 of file ConnStatic.h.
|
overridevirtual |
Loads parameters related to connections.
Load member variables from configuration file. Registered to OperationManager as Operations::op::loadParameters
Implements Connections.
Definition at line 84 of file ConnStatic.cpp.
|
overridevirtual |
Prints the parameters of the connection.
Prints out all parameters to the logging file. Registered to OperationManager as Operation::printParameters
Implements Connections.
Definition at line 89 of file ConnStatic.cpp.
|
overridevirtual |
Register vertex properties with the GraphManager.
Register graph properties to NeuralVertexProperties.
Reimplemented from Connections.
Definition at line 74 of file ConnStatic.cpp.
|
overridevirtual |
Registers history variables for recording during simulation.
Implements Connections.
Definition at line 93 of file ConnStatic.cpp.
void ConnStatic::serialize | ( | Archive & | archive | ) |
Cereal serialization method.
Definition at line 115 of file ConnStatic.h.
|
overridevirtual |
Set up the connections in the network.
Setup the internal structure of the class (allocate memories and initialize them). Initialize the small world network characterized by parameters: number of maximum connections per vertex, connection radius threshold, and small-world rewiring probability.
Implements Connections.
Definition at line 31 of file ConnStatic.cpp.