|
Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|


Public Member Functions | |
| All911Edges (int numVertices, int maxEdges) | |
| virtual void | setupEdges () override |
| Setup the internal structure of the class (allocate memories and initialize them). | |
| virtual void | createEdge (BGSIZE iEdg, int srcVertex, int destVertex, BGFLOAT deltaT, edgeType type) override |
| virtual void | advanceEdges (AllVertices &vertices, EdgeIndexMap &edgeIndexMap) |
| Advance all the edges in the simulation. | |
| void | advance911Edge (BGSIZE iEdg, All911Vertices &vertices) |
| virtual void | advanceEdge (BGSIZE iEdg, AllVertices &vertices) override |
| unused virtual function placeholder | |
Public Member Functions inherited from AllEdges | |
| AllEdges (int numVertices, int maxEdges) | |
| virtual void | loadParameters () |
| virtual void | printParameters () const |
| virtual BGSIZE | addEdge (edgeType type, int srcVertex, int destVertex, BGFLOAT deltaT) |
| virtual void | createEdgeIndexMap (EdgeIndexMap &edgeIndexMap) |
| Populate a edge index map. | |
| template<class Archive > | |
| void | serialize (Archive &archive) |
| Cereal serialization method. | |
| virtual void | eraseEdge (int vertexIndex, BGSIZE iEdg) |
Static Public Member Functions | |
| static AllEdges * | Create () |
Public Attributes | |
| unique_ptr< bool[]> | isAvailable_ |
| If edge has a call or not. | |
| unique_ptr< bool[]> | isRedial_ |
| If the call in the edge is a redial. | |
| vector< Call > | call_ |
| The call information per edge. | |
Public Attributes inherited from AllEdges | |
| vector< int > | sourceVertexIndex_ |
| The location of the edge. | |
| vector< int > | destVertexIndex_ |
| vector< BGFLOAT > | W_ |
| The weight (scaling factor, strength, maximal amplitude) of the edge. | |
| vector< edgeType > | type_ |
| edge type | |
| vector< unsigned char > | inUse_ |
| The value indicating the entry in the array is in use. | |
| vector< BGSIZE > | edgeCounts_ |
| BGSIZE | totalEdgeCount_ |
| The total number of active edges. | |
| BGSIZE | maxEdgesPerVertex_ |
| The maximum number of edges for each vertex. | |
| int | countVertices_ |
Additional Inherited Members | |
Protected Member Functions inherited from AllEdges | |
| virtual void | setupEdges (int numVertices, int maxEdges) |
| virtual void | readEdge (istream &input, BGSIZE iEdg) |
| virtual void | writeEdge (ostream &output, BGSIZE iEdg) const |
| edgeType | edgeOrdinalToType (int typeOrdinal) |
Protected Attributes inherited from AllEdges | |
| log4cplus::Logger | fileLogger_ |
| Loggers used to print to using log4cplus logging macros, prints to Results/Debug/logging.txt. | |
| log4cplus::Logger | edgeLogger_ |
Definition at line 34 of file All911Edges.h.
| All911Edges::All911Edges | ( | int | numVertices, |
| int | maxEdges ) |
Definition at line 11 of file All911Edges.cpp.
| void All911Edges::advance911Edge | ( | BGSIZE | iEdg, |
| All911Vertices & | vertices ) |
Advance one specific Edge.
| iEdg | Index of the Edge to connect to. |
| vertices | The Neuron list to search from. |
Advance one specific edge.
| iEdg | Index of the edge to connect to. |
| vertices | The vertex list to search from. |
Definition at line 56 of file All911Edges.cpp.
|
inlineoverridevirtual |
unused virtual function placeholder
Implements AllEdges.
Definition at line 98 of file All911Edges.h.
|
virtual |
Advance all the edges in the simulation.
Advance all the edges in the simulation.
| vertices | The vertex list to search from. |
| edgeIndexMap | Pointer to EdgeIndexMap structure. |
Reimplemented from AllEdges.
Definition at line 47 of file All911Edges.cpp.
|
inlinestatic |
Creates an instance of the class.
Definition at line 45 of file All911Edges.h.
|
overridevirtual |
Create a Edge and connect it to the model.
| iEdg | Index of the edge to set. |
| srcVertex | Coordinates of the source Vertex. |
| destVertex | Coordinates of the destination Vertex. |
| deltaT | Inner simulation step duration. |
| type | Type of the Edge to create. |
Implements AllEdges.
Definition at line 34 of file All911Edges.cpp.
|
overridevirtual |
Setup the internal structure of the class (allocate memories and initialize them).
Reimplemented from AllEdges.
Definition at line 15 of file All911Edges.cpp.
| vector<Call> All911Edges::call_ |
The call information per edge.
Definition at line 109 of file All911Edges.h.
| unique_ptr<bool[]> All911Edges::isAvailable_ |
If edge has a call or not.
Definition at line 103 of file All911Edges.h.
| unique_ptr<bool[]> All911Edges::isRedial_ |
If the call in the edge is a redial.
Definition at line 106 of file All911Edges.h.