Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
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. | |
![]() | |
Layout () | |
Constructor. | |
AllVertices & | getVertices () 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 Layout * | Create () |
Additional Inherited Members | |
![]() | |
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. | |
![]() | |
unique_ptr< AllVertices > | vertices_ |
log4cplus::Logger | fileLogger_ |
int | numVertices_ |
Total number of vertices in the graph. | |
Definition at line 24 of file LayoutNeuro.h.
LayoutNeuro::LayoutNeuro | ( | ) |
Definition at line 17 of file LayoutNeuro.cpp.
|
inlinestatic |
Definition at line 30 of file LayoutNeuro.h.
|
overridevirtual |
Returns the type of synapse at the given coordinates
srcVertex | integer that points to a Neuron in the type map as a source. |
destVertex | integer that points to a Neuron in the type map as a destination. |
Implements Layout.
Definition at line 105 of file LayoutNeuro.cpp.
|
overridevirtual |
Creates a vertex type map.
Creates a randomly ordered distribution with the specified numbers of vertex types.
numVertices | number of the vertices to have in the type map. |
Reimplemented from Layout.
Definition at line 47 of file LayoutNeuro.cpp.
|
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.
numVertices | number of vertices to have in the map. |
Reimplemented from Layout.
Definition at line 83 of file LayoutNeuro.cpp.
|
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.
|
overridevirtual |
Register vertex properties with the GraphManager.
Reimplemented from Layout.
Definition at line 22 of file LayoutNeuro.cpp.
void LayoutNeuro::serialize | ( | Archive & | archive | ) |
Cereal serialization method.
Definition at line 66 of file LayoutNeuro.h.