Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Public Member Functions | |
virtual void | setup () override |
virtual void | loadParameters () override |
virtual void | printParameters () const override |
BGFLOAT | getConnsRadiusThresh () const |
Get connection radius threshold. | |
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 void | registerGraphProperties () |
Register edge properties with the GraphManager. | |
virtual bool | updateConnections (AllVertices &vertices) |
template<class Archive > | |
void | serialize (Archive &archive) |
Cereal serialization method. | |
virtual void | updateSynapsesWeights () |
Static Public Member Functions | |
static Connections * | Create () |
Additional Inherited Members | |
![]() | |
unique_ptr< AllEdges > | edges_ |
unique_ptr< EdgeIndexMap > | synapseIndexMap_ |
log4cplus::Logger | fileLogger_ |
log4cplus::Logger | edgeLogger_ |
Definition at line 40 of file ConnStatic.h.
ConnStatic::ConnStatic | ( | ) |
Definition at line 25 of file ConnStatic.cpp.
|
inlinestatic |
Definition at line 46 of file ConnStatic.h.
|
inline |
Get connection radius threshold.
Definition at line 66 of file ConnStatic.h.
|
inline |
Get all edge destination vertex indices.
Definition at line 85 of file ConnStatic.h.
|
inline |
Get all edge source vertex indices.
Definition at line 79 of file ConnStatic.h.
|
inline |
Get array of vertex weights.
Definition at line 72 of file ConnStatic.h.
|
overridevirtual |
Load member variables from configuration file. Registered to OperationManager as Operations::op::loadParameters
Implements Connections.
Definition at line 121 of file ConnStatic.cpp.
|
overridevirtual |
Prints out all parameters to the logging file. Registered to OperationManager as Operation::printParameters
Prints out all parameters to logging file. Registered to OperationManager as Operation::printParameters
Implements Connections.
Definition at line 136 of file ConnStatic.cpp.
void ConnStatic::serialize | ( | Archive & | archive | ) |
Cereal serialization method.
Definition at line 137 of file ConnStatic.h.
|
overridevirtual |
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 37 of file ConnStatic.cpp.