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

virtual void setup () override
 
virtual void loadParameters () override
 
virtual void printParameters () const override
 
BGFLOAT getConnsRadiusThresh () const
 Get connection radius threshold.
 
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 void registerGraphProperties ()
 Register edge properties with the GraphManager.
 
virtual bool updateConnections (AllVertices &vertices)
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 
virtual void updateSynapsesWeights ()
 

Static Public Member Functions

static ConnectionsCreate ()
 

Additional Inherited Members

- Protected Attributes inherited from Connections
unique_ptr< AllEdgesedges_
 
unique_ptr< EdgeIndexMapsynapseIndexMap_
 
log4cplus::Logger fileLogger_
 
log4cplus::Logger edgeLogger_
 

Detailed Description

Definition at line 40 of file ConnStatic.h.

Constructor & Destructor Documentation

◆ ConnStatic()

ConnStatic::ConnStatic ( )

Definition at line 25 of file ConnStatic.cpp.

Member Function Documentation

◆ Create()

static Connections * ConnStatic::Create ( )
inlinestatic

Definition at line 46 of file ConnStatic.h.

◆ getConnsRadiusThresh()

BGFLOAT ConnStatic::getConnsRadiusThresh ( ) const
inline

Get connection radius threshold.

Definition at line 66 of file ConnStatic.h.

◆ getDestVertexIndexCurrentEpoch()

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

Get all edge destination vertex indices.

Definition at line 85 of file ConnStatic.h.

◆ getSourceVertexIndexCurrentEpoch()

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

Get all edge source vertex indices.

Definition at line 79 of file ConnStatic.h.

◆ getWCurrentEpoch()

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

Get array of vertex weights.

Definition at line 72 of file ConnStatic.h.

◆ loadParameters()

void ConnStatic::loadParameters ( )
overridevirtual

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

Implements Connections.

Definition at line 121 of file ConnStatic.cpp.

◆ printParameters()

void ConnStatic::printParameters ( ) const
overridevirtual

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

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

Implements Connections.

Definition at line 136 of file ConnStatic.cpp.

◆ serialize()

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

Cereal serialization method.

Definition at line 137 of file ConnStatic.h.

◆ setup()

void ConnStatic::setup ( )
overridevirtual

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 37 of file ConnStatic.cpp.


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