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

Public Member Functions

virtual void registerGraphProperties () override
 Register vertex properties with the GraphManager.
 
virtual void loadParameters () override
 
virtual void setup () override
 
virtual void printParameters () const override
 
virtual void generateVertexTypeMap () override
 
virtual edgeType edgType (int srcVertex, int destVertex) override
 
double getDistance (int vertexId, double x, double y)
 
- Public Member Functions inherited from Layout
 Layout ()
 Constructor.
 
AllVerticesgetVertices () const
 Returns reference to Vertices.
 
virtual void initStarterMap ()
 
virtual int getNumVertices () const
 Returns the number of vertices managed by the Layout.
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 

Static Public Member Functions

static LayoutCreate ()
 

Additional Inherited Members

- Public Attributes inherited from Layout
VectorMatrix xloc_
 Store neuron i's x location.
 
VectorMatrix yloc_
 Store neuron i's y location.
 
CompleteMatrix dist2_
 Inter-neuron distance squared.
 
CompleteMatrix dist_
 The true inter-neuron distance.
 
vector< int > probedNeuronList_
 Probed neurons list. // ToDo: Move this to Hdf5 recorder once its implemented in project -chris.
 
vector< vertexType > vertexTypeMap_
 The vertex type mao, (INH, EXC).
 
vector< bool > starterMap_
 The starter existence map (T/F).
 
BGSIZE numEndogenouslyActiveNeurons_
 Number of endogenously active neurons.
 
- Protected Attributes inherited from Layout
unique_ptr< AllVerticesvertices_
 
log4cplus::Logger fileLogger_
 
int numVertices_
 Total number of vertices in the graph.
 

Detailed Description

Definition at line 38 of file Layout911.h.

Member Function Documentation

◆ Create()

static Layout * Layout911::Create ( )
inlinestatic

Creates an instance of the class.

Returns
Reference to the instance of the class.

Definition at line 47 of file Layout911.h.

◆ edgType()

edgeType Layout911::edgType ( int srcVertex,
int destVertex )
overridevirtual

Returns the type of synapse at the given coordinates

Parameters
srcVertexinteger that points to a Neuron in the type map as a source.
destVertexinteger that points to a Neuron in the type map as a destination.
Returns
type of the synapse.

Implements Layout.

Definition at line 116 of file Layout911.cpp.

◆ generateVertexTypeMap()

void Layout911::generateVertexTypeMap ( )
overridevirtual

Creates a vertex type map.

Parameters
numVerticesnumber of the vertices to have in the type map.

Reimplemented from Layout.

Definition at line 80 of file Layout911.cpp.

◆ getDistance()

double Layout911::getDistance ( int vertexId,
double x,
double y )

Calculates the distance between the given vertex and the (x, y) coordinates of a point

Parameters
vertexIdThe index of the vertex to calculate the distance from
xThe x location of a point
yThe y location of a point
Returns
The distance between the given vertex and the (x, y) coordinates of a point

Definition at line 142 of file Layout911.cpp.

◆ loadParameters()

void Layout911::loadParameters ( )
overridevirtual

Loads Layout911 member variables. Registered to OperationManager as Operation::loadParameters

Reimplemented from Layout.

Definition at line 36 of file Layout911.cpp.

◆ printParameters()

void Layout911::printParameters ( ) const
overridevirtual

Prints out all parameters to logging file. Registered to OperationManager as Operation::printParameters

Reimplemented from Layout.

Definition at line 75 of file Layout911.cpp.

◆ registerGraphProperties()

void Layout911::registerGraphProperties ( )
overridevirtual

Register vertex properties with the GraphManager.

Reimplemented from Layout.

Definition at line 14 of file Layout911.cpp.

◆ setup()

void Layout911::setup ( )
overridevirtual

Setup the internal structure of the class. Allocate memories to store all layout state.

Reimplemented from Layout.

Definition at line 43 of file Layout911.cpp.


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