Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
Loading...
Searching...
No Matches
All911Edges Class Reference
Inheritance diagram for All911Edges:
Collaboration diagram for All911Edges:

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 neuronIndex, BGSIZE iEdg)
 

Static Public Member Functions

static AllEdgesCreate ()
 

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< Callcall_
 The call information per edge.
 
- Public Attributes inherited from AllEdges
vector< int > sourceVertexIndex_
 The location of the edge.
 
vector< int > destVertexIndex_
 The coordinates of the summation point.
 
vector< BGFLOAT > W_
 The weight (scaling factor, strength, maximal amplitude) of the edge.
 
vector< edgeType > type_
 Synapse 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_
 

Detailed Description

Definition at line 34 of file All911Edges.h.

Constructor & Destructor Documentation

◆ All911Edges()

All911Edges::All911Edges ( int numVertices,
int maxEdges )

Definition at line 11 of file All911Edges.cpp.

Member Function Documentation

◆ advance911Edge()

void All911Edges::advance911Edge ( BGSIZE iEdg,
All911Vertices & vertices )

Advance one specific Edge.

Parameters
iEdgIndex of the Edge to connect to.
verticesThe Neuron list to search from.

Advance one specific edge.

Parameters
iEdgIndex of the edge to connect to.
verticesThe vertex list to search from.

Definition at line 104 of file All911Edges.cpp.

◆ advanceEdge()

virtual void All911Edges::advanceEdge ( BGSIZE iEdg,
AllVertices & vertices )
inlineoverridevirtual

unused virtual function placeholder

Implements AllEdges.

Definition at line 99 of file All911Edges.h.

◆ advanceEdges()

void All911Edges::advanceEdges ( AllVertices & vertices,
EdgeIndexMap & edgeIndexMap )
virtual

Advance all the edges in the simulation.

Advance all the edges in the simulation.

Parameters
verticesThe vertex list to search from.
edgeIndexMapPointer to EdgeIndexMap structure.

Reimplemented from AllEdges.

Definition at line 47 of file All911Edges.cpp.

◆ Create()

static AllEdges * All911Edges::Create ( )
inlinestatic

Creates an instance of the class.

Returns
Reference to the instance of the class.

Definition at line 45 of file All911Edges.h.

◆ createEdge()

void All911Edges::createEdge ( BGSIZE iEdg,
int srcVertex,
int destVertex,
BGFLOAT deltaT,
edgeType type )
overridevirtual

Create a Edge and connect it to the model.

Parameters
iEdgIndex of the edge to set.
srcVertexCoordinates of the source Vertex.
destVertexCoordinates of the destination Vertex.
deltaTInner simulation step duration.
typeType of the Edge to create.

Implements AllEdges.

Definition at line 34 of file All911Edges.cpp.

◆ setupEdges()

void All911Edges::setupEdges ( )
overridevirtual

Setup the internal structure of the class (allocate memories and initialize them).

Reimplemented from AllEdges.

Definition at line 15 of file All911Edges.cpp.

Member Data Documentation

◆ call_

vector<Call> All911Edges::call_

The call information per edge.

Definition at line 110 of file All911Edges.h.

◆ isAvailable_

unique_ptr<bool[]> All911Edges::isAvailable_

If edge has a call or not.

Definition at line 104 of file All911Edges.h.

◆ isRedial_

unique_ptr<bool[]> All911Edges::isRedial_

If the call in the edge is a redial.

Definition at line 107 of file All911Edges.h.


The documentation for this class was generated from the following files: