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 registerHistoryVariables ()
 
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 ()
 

Public Attributes

DeviceVector< BGFLOAT > xloc_
 
DeviceVector< BGFLOAT > yloc_
 
- Public Attributes inherited from Layout
CompleteMatrix dist2_
 Inter-neuron distance squared.
 
CompleteMatrix dist_
 The true inter-neuron distance.
 
vector< int > probedVertexList_
 Probed neurons list. // ToDo: Move this to Hdf5 recorder once its implemented in project -chris.
 
RecordableVector< vertexType > vertexTypeMap_
 The vertex type mao, (INH, EXC).
 

Additional Inherited Members

- 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 39 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 48 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 121 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 83 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 153 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 78 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.

Member Data Documentation

◆ xloc_

DeviceVector<BGFLOAT> Layout911::xloc_

Definition at line 86 of file Layout911.h.

◆ yloc_

DeviceVector<BGFLOAT> Layout911::yloc_

Definition at line 87 of file Layout911.h.


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