Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Public Member Functions | Public Attributes | List of all members
cypress::Synapse Struct Reference

#include <connector.hpp>

Public Member Functions

 Synapse (Real weight=0.0, Real delay=0.0)
 
bool excitatory () const
 
bool inhibitory () const
 
bool valid () const
 

Public Attributes

Real weight
 
Real delay
 

Detailed Description

Data structure describing a connection between two neurons. Structure describing the synaptic properties – weight and delay.

Constructor & Destructor Documentation

cypress::Synapse::Synapse ( Real  weight = 0.0,
Real  delay = 0.0 
)
inlineexplicit

Constructor of the Synapse structure. Per default initialises all member variables with zero.

Parameters
weightweight in micro-Siemens or nano-Ampere
delaydelay in milliseconds

Member Function Documentation

bool cypress::Synapse::excitatory ( ) const
inline

Returns true if the synapse is excitatory.

bool cypress::Synapse::inhibitory ( ) const
inline

Returns true if the synapse is inhibitory.

bool cypress::Synapse::valid ( ) const
inline

Checks whether the synapse is valid – invalid synapses are those with zero weight negative delay.

Member Data Documentation

Real cypress::Synapse::delay

Synaptic delay in milliseconds.

Real cypress::Synapse::weight

Synaptic weight – for conductance-based neurons the synaptic weight is usually measured in micro-siemens, current-based neurons in nano Ampere. Inhibitory connections are indicated by smaller-than-zero connection weights.


The documentation for this struct was generated from the following file: