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

Public Member Functions

virtual void registerGraphProperties () override
 Register vertex properties with the GraphManager.
 
virtual void printParameters () const override
 
virtual void generateVertexTypeMap () override
 Creates a vertex type map.
 
virtual void initStarterMap () override
 
virtual edgeType edgType (int srcVertex, int destVertex) override
 
void printLayout ()
 Prints the layout, used for debugging.
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 
- Public Member Functions inherited from Layout
 Layout ()
 Constructor.
 
AllVerticesgetVertices () const
 Returns reference to Vertices.
 
virtual void setup ()
 
virtual void loadParameters ()
 Load member variables from configuration files. Registered to OperationManager as Operation::loadParameters.
 
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 24 of file LayoutNeuro.h.

Constructor & Destructor Documentation

◆ LayoutNeuro()

LayoutNeuro::LayoutNeuro ( )

Definition at line 17 of file LayoutNeuro.cpp.

Member Function Documentation

◆ Create()

static Layout * LayoutNeuro::Create ( )
inlinestatic

Definition at line 30 of file LayoutNeuro.h.

◆ edgType()

edgeType LayoutNeuro::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 105 of file LayoutNeuro.cpp.

◆ generateVertexTypeMap()

void LayoutNeuro::generateVertexTypeMap ( )
overridevirtual

Creates a vertex type map.

Creates a randomly ordered distribution with the specified numbers of vertex types.

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

Reimplemented from Layout.

Definition at line 47 of file LayoutNeuro.cpp.

◆ initStarterMap()

void LayoutNeuro::initStarterMap ( )
overridevirtual

Populates the starter map. Selects num_endogenously_active_neurons excitory neurons and converts them into starter vertices.

Populates the starter map. Selects numStarter excitory neurons and converts them into starter neurons.

Parameters
numVerticesnumber of vertices to have in the map.

Reimplemented from Layout.

Definition at line 83 of file LayoutNeuro.cpp.

◆ printParameters()

void LayoutNeuro::printParameters ( ) const
overridevirtual

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

Reimplemented from Layout.

Definition at line 37 of file LayoutNeuro.cpp.

◆ registerGraphProperties()

void LayoutNeuro::registerGraphProperties ( )
overridevirtual

Register vertex properties with the GraphManager.

Reimplemented from Layout.

Definition at line 22 of file LayoutNeuro.cpp.

◆ serialize()

template<class Archive >
void LayoutNeuro::serialize ( Archive & archive)

Cereal serialization method.

Definition at line 66 of file LayoutNeuro.h.


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