23#ifndef DIFFUSION_CONNECTION_H
24#define DIFFUSION_CONNECTION_H
88template <
typename target
identifierT >
157 "Please use the parameters drift_factor and "
158 "diffusion_factor to specifiy the weights." );
164 throw BadProperty(
"diffusion_connection has no delay." );
170 throw BadProperty(
"diffusion_connection has no delay." );
179template <
typename target
identifierT >
182template <
typename target
identifierT >
193template <
typename target
identifierT >
200 throw BadProperty(
"diffusion_connection has no delay." );
206 "Please use the parameters drift_factor and "
207 "diffusion_factor to specifiy the weights." );
216template <
typename target
identifierT >
217std::unique_ptr< SecondaryEvent >
220 return std::make_unique< DiffusionConnectionEvent >();
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Exception to be thrown if a status parameter is incomplete or inconsistent.
Definition exceptions.h:680
Class containing the common properties for all connections of a certain type.
Definition common_synapse_properties.h:50
void get_status(Dictionary &d) const
size_t get_rport() const
Definition connection.h:316
long get_delay_steps() const
Definition connection.h:271
void set_status(const Dictionary &d, ConnectorModel &cm)
Connection()
Definition connection.h:124
Node * get_target(const size_t tid) const
Definition connection.h:311
targetidentifierT target_
Definition connection.h:383
Definition connector_model.h:69
Event for diffusion connections (rate model connections for the siegert_neuron).
Definition secondary_event.h:348
Encapsulate information sent between nodes.
Definition event.h:103
void set_sender(Node &)
Change pointer to sending Node.
Definition event.h:959
Base class for all NEST network objects.
Definition node.h:99
void set_weight(double)
Definition diffusion_connection.h:154
size_t get_rport() const
Definition connection.h:316
void set_delay_steps(long)
Definition diffusion_connection.h:168
double diffusion_factor_
Definition diffusion_connection.h:176
std::unique_ptr< SecondaryEvent > get_secondary_event()
Definition diffusion_connection.h:218
Node * get_target(const size_t tid) const
Definition connection.h:311
double drift_factor_
Definition diffusion_connection.h:175
Connection< targetidentifierT, TotalDelay > ConnectionBase
Definition diffusion_connection.h:94
static constexpr ConnectionModelProperties properties
Definition diffusion_connection.h:96
diffusion_connection()
Default Constructor.
Definition diffusion_connection.h:102
CommonSynapseProperties CommonPropertiesType
Definition diffusion_connection.h:93
void check_connection(Node &s, Node &t, const size_t receptor_type, const synindex, const CommonPropertiesType &)
Definition diffusion_connection.h:122
bool send(Event &e, size_t t, const CommonSynapseProperties &)
Send an event to the receiver of this connection.
Definition diffusion_connection.h:138
void set_status(const Dictionary &d, ConnectorModel &cm)
Definition diffusion_connection.h:195
void get_status(Dictionary &d) const
Definition diffusion_connection.h:184
void set_delay_ms(double)
Definition diffusion_connection.h:162
double weight_
Definition diffusion_connection.h:174
virtual size_t handles_test_event(SpikeEvent &, size_t receptor_type)
Check if the node can handle a particular event and receptor type.
Definition node.cpp:282
virtual void sends_secondary_event(GapJunctionEvent &ge)
Required to check, if source neuron may send a SecondaryEvent.
Definition node.cpp:400
const std::string delay("delay")
const std::string drift_factor("drift_factor")
const std::string weight("weight")
const std::string diffusion_factor("diffusion_factor")
const std::string size_of("sizeof")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_diffusion_connection(const std::string &name)
Definition diffusion_connection.cpp:32
ConnectionModelProperties
Definition connector_model.h:49
@ SUPPORTS_WFR
Definition connector_model.h:55
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:121