Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Public Member Functions | |
virtual void | setupVertices () |
virtual void | createAllVertices (Layout &layout) |
virtual void | loadParameters () |
virtual void | printParameters () const override |
virtual string | toString (int index) const |
virtual void | loadEpochInputs (uint64_t currentStep, uint64_t endStep) override |
virtual void | registerHistoryVariables () override |
unused virtual function placeholder | |
CircularBuffer< Call > & | getQueue (int vIdx) |
int & | droppedCalls (int vIdx) |
int & | receivedCalls (int vIdx) |
int | busyServers (int vIdx) const |
virtual void | advanceVertices (AllEdges &edges, const EdgeIndexMap &edgeIndexMap) override |
![]() | |
template<class Archive > | |
void | serialize (Archive &archive) |
Cereal serialization method. | |
Static Public Member Functions | |
static AllVertices * | Create () |
Friends | |
class | Xml911Recorder |
Additional Inherited Members | |
![]() | |
vector< BGFLOAT > | summationPoints_ |
![]() | |
int | size_ |
Total number of vertices. | |
log4cplus::Logger | fileLogger_ |
log4cplus::Logger | vertexLogger_ |
Definition at line 78 of file All911Vertices.h.
|
overridevirtual |
Update internal state of the indexed Vertex (called by every simulation step). Notify outgoing edges if vertex has fired.
edges | The Edge list to search from. |
edgeIndexMap | Reference to the EdgeIndexMap. |
Implements AllVertices.
Definition at line 165 of file All911Vertices.cpp.
int All911Vertices::busyServers | ( | int | vIdx | ) | const |
Accessor for the number of busy servers in a given vertex
vIdx | The index of the vertex |
Definition at line 156 of file All911Vertices.cpp.
|
inlinestatic |
Creates an instance of the class.
Definition at line 90 of file All911Vertices.h.
|
virtual |
Creates all the Vertices and assigns initial data for them.
layout | Layout information of the network. |
Implements AllVertices.
Definition at line 54 of file All911Vertices.cpp.
int & All911Vertices::droppedCalls | ( | int | vIdx | ) |
Accessor for the droppedCalls counter of a vertex
vIdx | The index of the vertex |
Definition at line 144 of file All911Vertices.cpp.
CircularBuffer< Call > & All911Vertices::getQueue | ( | int | vIdx | ) |
Accessor for the waiting queue of a vertex
vIdx | The index of the vertex |
Definition at line 138 of file All911Vertices.cpp.
|
overridevirtual |
Loads all inputs scheduled to occur in the upcoming epoch. These are inputs occurring in between curStep (inclusive) and endStep (exclusive)
Reimplemented from AllVertices.
Definition at line 121 of file All911Vertices.cpp.
|
virtual |
Load member variables from configuration file. Registered to OperationManager as Operation::loadParameters
Implements AllVertices.
Definition at line 101 of file All911Vertices.cpp.
|
overridevirtual |
Prints out all parameters of the vertices to logging file. Registered to OperationManager as Operation::printParameters
Reimplemented from AllVertices.
Definition at line 109 of file All911Vertices.cpp.
int & All911Vertices::receivedCalls | ( | int | vIdx | ) |
Accessor for the receivedCalls counter of a vertex
vIdx | The index of the vertex |
Definition at line 150 of file All911Vertices.cpp.
|
inlineoverridevirtual |
unused virtual function placeholder
Implements AllVertices.
Definition at line 124 of file All911Vertices.h.
|
virtual |
Setup the internal structure of the class. Allocate memories to store all vertices' states.
Reimplemented from AllVertices.
Definition at line 18 of file All911Vertices.cpp.
|
virtual |
Outputs state of the vertex chosen as a string.
index | index of the vertex (in vertices) to output info from. |
Implements AllVertices.
Definition at line 114 of file All911Vertices.cpp.
|
friend |
Definition at line 81 of file All911Vertices.h.