|
Cypress
1.0
C++ Spiking Neural Network Simulation Framework
|
#include <connector.hpp>

Public Member Functions | |
| LocalConnection (uint32_t src=0, uint32_t tar=0, Real weight=0.0, Real delay=0.0) | |
| LocalConnection (uint32_t src, uint32_t tar, SynapseBase &synapse) | |
| bool | valid () const |
| bool | excitatory () const |
| bool | inhibitory () const |
| LocalConnection | absolute_connection () |
| bool | operator== (const LocalConnection &s) const |
| bool | operator< (const LocalConnection &s) const |
Public Attributes | |
| NeuronIndex | src |
| NeuronIndex | tar |
| std::vector< Real > | SynapseParameters |
The LocalConnection class is a stripped-down version of the Connection class which only contains the neuron indices and not the source and target population indices.
|
inline |
Constructor of the Connection class. Per default all fields are initialised with zero.
|
inline |
|
inline |
Returns a LocalConnection with absolute value of the weight
|
inline |
Returns true if the synapse is excitatory.
|
inline |
Returns true if the synapse is inhibitory.
|
inline |
Used to sort the connections by their valid status, their population ids and their neuron ids. The precedence of these fields is: validity, psrc, ptar, nsrc, ntar. Invalid neurons are sorted to the end to be able to simply throw them away.
|
inline |
Checks whether two Connection instances are equal.
|
inline |
Checks whether the connection is valid.
| NeuronIndex cypress::LocalConnection::src |
Source neuron index within the specified source population.
| std::vector<Real> cypress::LocalConnection::SynapseParameters |
Synaptic properties.
| NeuronIndex cypress::LocalConnection::tar |
Target neuron index within the specified target population.
1.8.11