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 |
virtual bool | updateConnections (AllVertices &vertices) override |
Update the connections status in every epoch. | |
BGSIZE | getEdgeToClosestResponder (const Call &call, BGSIZE vertexIdx) |
string | changedEdgesToXML (bool added) |
Returns the complete list of all deleted or added edges as a string. | |
string | erasedVerticesToXML () |
Returns the complete list of deleted vertices as a string. | |
![]() | |
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. | |
template<class Archive > | |
void | serialize (Archive &archive) |
Cereal serialization method. | |
virtual void | updateSynapsesWeights () |
Static Public Member Functions | |
static Connections * | Create () |
Public Attributes | |
vector< vertexType > | oldTypeMap_ |
Records typeMap history for recorders. | |
Additional Inherited Members | |
![]() | |
unique_ptr< AllEdges > | edges_ |
unique_ptr< EdgeIndexMap > | synapseIndexMap_ |
log4cplus::Logger | fileLogger_ |
log4cplus::Logger | edgeLogger_ |
Definition at line 22 of file Connections911.h.
string Connections911::changedEdgesToXML | ( | bool | added | ) |
Returns the complete list of all deleted or added edges as a string.
Returns the complete list of all deleted or added edges as a string.
Definition at line 372 of file Connections911.cpp.
|
inlinestatic |
Creates an instance of the class.
Definition at line 31 of file Connections911.h.
string Connections911::erasedVerticesToXML | ( | ) |
Returns the complete list of deleted vertices as a string.
Returns the complete list of deleted vertices as a string.
Definition at line 396 of file Connections911.cpp.
BGSIZE Connections911::getEdgeToClosestResponder | ( | const Call & | call, |
BGSIZE | vertexIdx ) |
Finds the outgoing edge from the given vertex to the Responder closest to the emergency call location
call | The call that needs a Responder |
vertexIdx | The index of the vertex serving the call (A PSAP) |
Finds the outgoing edge from the given vertex to the Responder closest to the emergency call location
Definition at line 94 of file Connections911.cpp.
|
overridevirtual |
Load member variables from configuration file. Registered to OperationManager as Operations::op::loadParameters
Implements Connections.
Definition at line 44 of file Connections911.cpp.
|
overridevirtual |
Prints out all parameters to logging file. Registered to OperationManager as Operation::printParameters
Implements Connections.
Definition at line 52 of file Connections911.cpp.
|
overridevirtual |
Setup the internal structure of the class (allocate memories and initialize them). Initialize the network characterized by parameters: number of maximum connections per vertex, connection radius threshold
Implements Connections.
Definition at line 15 of file Connections911.cpp.
|
overridevirtual |
Update the connections status in every epoch.
Update the connections status in every epoch. Uses the parent definition for USE_GPU
vertices | The Vertex list to search from. |
Reimplemented from Connections.
Definition at line 66 of file Connections911.cpp.
vector<vertexType> Connections911::oldTypeMap_ |
Records typeMap history for recorders.
Definition at line 36 of file Connections911.h.