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 | 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) |
![]() | |
Layout () | |
Constructor. | |
AllVertices & | getVertices () 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 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 38 of file Layout911.h.
|
inlinestatic |
Creates an instance of the class.
Definition at line 47 of file Layout911.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 116 of file Layout911.cpp.
|
overridevirtual |
Creates a vertex type map.
numVertices | number of the vertices to have in the type map. |
Reimplemented from Layout.
Definition at line 80 of file Layout911.cpp.
double Layout911::getDistance | ( | int | vertexId, |
double | x, | ||
double | y ) |
Calculates the distance between the given vertex and the (x, y) coordinates of a point
vertexId | The index of the vertex to calculate the distance from |
x | The x location of a point |
y | The y location of a point |
Definition at line 142 of file Layout911.cpp.
|
overridevirtual |
Loads Layout911 member variables. Registered to OperationManager as Operation::loadParameters
Reimplemented from Layout.
Definition at line 36 of file Layout911.cpp.
|
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.
|
overridevirtual |
Register vertex properties with the GraphManager.
Reimplemented from Layout.
Definition at line 14 of file Layout911.cpp.
|
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.