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

Classes

struct  GrowthParams
 

Public Member Functions

virtual void setup () override
 Setup the internal structure of the class (allocate memories and initialize them).
 
virtual void loadParameters () override
 
virtual void registerHistoryVariables () override
 Registers history variables for recording during simulation.
 
virtual void printParameters () const override
 
virtual bool updateConnections () override
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 
void printRadii () const
 Prints radii.
 
virtual void updateEdgesWeights () override
 
- Public Member Functions inherited from Connections
virtual ~Connections ()=default
 Destructor.
 
AllEdgesgetEdges () const
 Returns reference to Synapses/Edges.
 
EdgeIndexMapgetEdgeIndexMap () const
 Returns a reference to the EdgeIndexMap.
 
void createEdgeIndexMap ()
 Calls Synapses to create EdgeIndexMap and stores it as a member variable.
 
virtual void registerGraphProperties ()
 Register edge properties with the GraphManager.
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 

Static Public Member Functions

static ConnectionsCreate ()
 

Public Attributes

GrowthParams growthParams_
 structure to keep growth parameters
 
int radiiSize_
 radii size
 
CompleteMatrix W_
 synapse weight
 
VectorMatrix radii_
 neuron radii
 
VectorMatrix rates_
 spiking rate
 
CompleteMatrix delta_
 distance between connection frontiers
 
CompleteMatrix area_
 areas of overlap
 
VectorMatrix outgrowth_
 neuron's outgrowth
 
VectorMatrix deltaR_
 displacement of neuron radii
 

Additional Inherited Members

- Protected Attributes inherited from Connections
unique_ptr< AllEdgesedges_
 
unique_ptr< EdgeIndexMapsynapseIndexMap_
 TODO: Rename to edgeIndexMap_ since this is a base class.
 
log4cplus::Logger fileLogger_
 
log4cplus::Logger edgeLogger_
 

Detailed Description

Definition at line 82 of file ConnGrowth.h.

Constructor & Destructor Documentation

◆ ConnGrowth()

ConnGrowth::ConnGrowth ( )

Definition at line 52 of file ConnGrowth.cpp.

Member Function Documentation

◆ Create()

static Connections * ConnGrowth::Create ( )
inlinestatic

Definition at line 88 of file ConnGrowth.h.

◆ loadParameters()

void ConnGrowth::loadParameters ( )
overridevirtual

Load member variables from configuration file. Registered to OperationManager as Operations::op::loadParameters

Implements Connections.

Definition at line 87 of file ConnGrowth.cpp.

◆ printParameters()

void ConnGrowth::printParameters ( ) const
overridevirtual

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

Implements Connections.

Definition at line 113 of file ConnGrowth.cpp.

◆ printRadii()

void ConnGrowth::printRadii ( ) const

Prints radii.

Definition at line 327 of file ConnGrowth.cpp.

◆ registerHistoryVariables()

void ConnGrowth::registerHistoryVariables ( )
overridevirtual

Registers history variables for recording during simulation.

Implements Connections.

Definition at line 334 of file ConnGrowth.cpp.

◆ serialize()

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

Cereal serialization method.

Definition at line 206 of file ConnGrowth.h.

◆ setup()

void ConnGrowth::setup ( )
overridevirtual

Setup the internal structure of the class (allocate memories and initialize them).

Setup the internal structure of the class (allocate memories and initialize them).

Parameters
layoutLayout information of the neural network.
verticesThe vertex list to search from.
synapsesThe Synapse list to search from.

Implements Connections.

Definition at line 62 of file ConnGrowth.cpp.

◆ updateConnections()

bool ConnGrowth::updateConnections ( )
overridevirtual

Update the connections status in every epoch.

Returns
true if successful, false otherwise.

Reimplemented from Connections.

Definition at line 130 of file ConnGrowth.cpp.

◆ updateEdgesWeights()

void ConnGrowth::updateEdgesWeights ( )
overridevirtual

Update the weights of the Synapses in the simulation. To be clear, iterates through all source and destination neurons and updates their synaptic strengths from the weight matrix. Note: Platform Dependent.

Update the weight of the Synapses in the simulation. To be clear, iterates through all source and destination neurons and updates their synaptic strengths from the weight matrix. Note: Platform Dependent.

Reimplemented from Connections.

Definition at line 245 of file ConnGrowth.cpp.

Member Data Documentation

◆ area_

CompleteMatrix ConnGrowth::area_

areas of overlap

Definition at line 194 of file ConnGrowth.h.

◆ delta_

CompleteMatrix ConnGrowth::delta_

distance between connection frontiers

Definition at line 191 of file ConnGrowth.h.

◆ deltaR_

VectorMatrix ConnGrowth::deltaR_

displacement of neuron radii

Definition at line 200 of file ConnGrowth.h.

◆ growthParams_

GrowthParams ConnGrowth::growthParams_

structure to keep growth parameters

Definition at line 176 of file ConnGrowth.h.

◆ outgrowth_

VectorMatrix ConnGrowth::outgrowth_

neuron's outgrowth

Definition at line 197 of file ConnGrowth.h.

◆ radii_

VectorMatrix ConnGrowth::radii_

neuron radii

Definition at line 185 of file ConnGrowth.h.

◆ radiiSize_

int ConnGrowth::radiiSize_

radii size

Definition at line 179 of file ConnGrowth.h.

◆ rates_

VectorMatrix ConnGrowth::rates_

spiking rate

Definition at line 188 of file ConnGrowth.h.

◆ W_

CompleteMatrix ConnGrowth::W_

synapse weight

Definition at line 182 of file ConnGrowth.h.


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