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

Public Member Functions

 ConnStatic ()
 Default constructor for ConnStatic.
 
virtual void registerGraphProperties () override
 Register vertex properties with the GraphManager.
 
virtual void setup () override
 Set up the connections in the network.
 
virtual void loadParameters () override
 Loads parameters related to connections.
 
virtual void printParameters () const override
 Prints the parameters of the connection.
 
virtual void registerHistoryVariables () override
 Registers history variables for recording during simulation.
 
const vector< BGFLOAT > & getWCurrentEpoch () const
 Get array of vertex weights.
 
const vector< int > & getSourceVertexIndexCurrentEpoch () const
 Get all edge source vertex indices.
 
const vector< int > & getDestVertexIndexCurrentEpoch () const
 Get all edge destination vertex indices.
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 
- 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 bool updateConnections ()
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 
virtual void updateEdgesWeights ()
 

Static Public Member Functions

static ConnectionsCreate ()
 

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 36 of file ConnStatic.h.

Constructor & Destructor Documentation

◆ ConnStatic()

ConnStatic::ConnStatic ( )

Default constructor for ConnStatic.

Definition at line 26 of file ConnStatic.cpp.

Member Function Documentation

◆ Create()

static Connections * ConnStatic::Create ( )
inlinestatic

Definition at line 42 of file ConnStatic.h.

◆ getDestVertexIndexCurrentEpoch()

const vector< int > & ConnStatic::getDestVertexIndexCurrentEpoch ( ) const
inline

Get all edge destination vertex indices.

Definition at line 81 of file ConnStatic.h.

◆ getSourceVertexIndexCurrentEpoch()

const vector< int > & ConnStatic::getSourceVertexIndexCurrentEpoch ( ) const
inline

Get all edge source vertex indices.

Definition at line 75 of file ConnStatic.h.

◆ getWCurrentEpoch()

const vector< BGFLOAT > & ConnStatic::getWCurrentEpoch ( ) const
inline

Get array of vertex weights.

Definition at line 68 of file ConnStatic.h.

◆ loadParameters()

void ConnStatic::loadParameters ( )
overridevirtual

Loads parameters related to connections.

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

Implements Connections.

Definition at line 84 of file ConnStatic.cpp.

◆ printParameters()

void ConnStatic::printParameters ( ) const
overridevirtual

Prints the parameters of the connection.

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

Implements Connections.

Definition at line 89 of file ConnStatic.cpp.

◆ registerGraphProperties()

void ConnStatic::registerGraphProperties ( )
overridevirtual

Register vertex properties with the GraphManager.

Register graph properties to NeuralVertexProperties.

Reimplemented from Connections.

Definition at line 74 of file ConnStatic.cpp.

◆ registerHistoryVariables()

void ConnStatic::registerHistoryVariables ( )
overridevirtual

Registers history variables for recording during simulation.

Implements Connections.

Definition at line 93 of file ConnStatic.cpp.

◆ serialize()

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

Cereal serialization method.

Definition at line 115 of file ConnStatic.h.

◆ setup()

void ConnStatic::setup ( )
overridevirtual

Set up the connections in the network.

Setup the internal structure of the class (allocate memories and initialize them). Initialize the small world network characterized by parameters: number of maximum connections per vertex, connection radius threshold, and small-world rewiring probability.

Implements Connections.

Definition at line 31 of file ConnStatic.cpp.


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