Cypress
1.0
C++ Spiking Neural Network Simulation Framework
|
#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 |
Data structure describing a connection between two neurons. Structure describing the synaptic properties – weight and delay.
Constructor of the Synapse structure. Per default initialises all member variables with zero.
weight | weight in micro-Siemens or nano-Ampere |
delay | delay in milliseconds |
|
inline |
Returns true if the synapse is excitatory.
|
inline |
Returns true if the synapse is inhibitory.
|
inline |
Checks whether the synapse is valid – invalid synapses are those with zero weight negative delay.
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.