23#ifndef STATICSYNAPSE_HOM_W_H
24#define STATICSYNAPSE_HOM_W_H
71template <
typename target
identifierT >
158 "Weight cannot be specified since it needs to be equal "
159 "for all connections when static_synapse_hom_w is used." );
185 "Setting of individual weights is not possible! The common weights can "
191template <
typename target
identifierT >
194template <
typename target
identifierT >
198 ConnectionBase::get_status( d );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
bool known(const std::string &key) const
Check whether there exists a value with specified key in the dictionary.
Definition dictionary.h:677
Exception to be thrown if a status parameter is incomplete or inconsistent.
Definition exceptions.h:680
Class containing the common properties for all synapses with common weight.
Definition common_properties_hom_w.h:36
double get_weight() const
Definition common_properties_hom_w.h:52
Event for electrical conductances.
Definition event.h:809
Base class for dummy nodes used in connection testing.
Definition connection.h:67
Base class for representing connections.
Definition connection.h:110
void check_connection_(Node &dummy_target, Node &source, Node &target, const size_t receptor_type)
This function calls check_connection() on the sender to check if the receiver accepts the event type ...
Definition connection.h:319
long get_delay_steps() const
Return the delay of the connection in steps.
Definition connection.h:181
Node * get_target(const size_t tid) const
Definition connection.h:239
size_t get_rport() const
Definition connection.h:244
Event for electrical currents.
Definition event.h:569
"Callback request event" for use in Device.
Definition event.h:615
"Callback request event" for use in Device.
Definition event.h:521
Request data to be logged/logged data to be sent.
Definition event.h:636
Encapsulate information sent between nodes.
Definition event.h:103
Base class for all NEST network objects.
Definition node.h:99
Event for firing rate information.
Definition event.h:535
Event for spike information.
Definition event.h:418
Definition static_synapse_hom_w.h:93
size_t handles_test_event(SpikeEvent &, size_t) override
Check if the node can handle a particular event and receptor type.
Definition static_synapse_hom_w.h:99
size_t handles_test_event(RateEvent &, size_t) override
Definition static_synapse_hom_w.h:104
size_t handles_test_event(ConductanceEvent &, size_t) override
Definition static_synapse_hom_w.h:119
size_t handles_test_event(DoubleDataEvent &, size_t) override
Definition static_synapse_hom_w.h:124
size_t handles_test_event(DSSpikeEvent &, size_t) override
Definition static_synapse_hom_w.h:129
size_t handles_test_event(CurrentEvent &, size_t) override
Definition static_synapse_hom_w.h:114
size_t handles_test_event(DSCurrentEvent &, size_t) override
Definition static_synapse_hom_w.h:134
size_t handles_test_event(DataLoggingRequest &, size_t) override
Definition static_synapse_hom_w.h:109
Definition static_synapse_hom_w.h:73
void check_connection(Node &s, Node &t, size_t receptor_type, const CommonPropertiesType &)
Definition static_synapse_hom_w.h:143
CommonPropertiesHomW CommonPropertiesType
Definition static_synapse_hom_w.h:77
static constexpr ConnectionModelProperties properties
Definition static_synapse_hom_w.h:88
long get_delay_steps() const
Return the delay of the connection in steps.
Definition connection.h:181
void check_synapse_params(const Dictionary &syn_spec) const
Checks to see if weight is given in syn_spec.
Definition static_synapse_hom_w.h:153
Node * get_target(const size_t tid) const
Definition connection.h:239
Connection< targetidentifierT > ConnectionBase
Definition static_synapse_hom_w.h:78
size_t get_rport() const
Definition connection.h:244
void set_weight(double)
Definition static_synapse_hom_w.h:182
bool send(Event &e, const size_t tid, const CommonPropertiesHomW &cp)
Send an event to the receiver of this connection.
Definition static_synapse_hom_w.h:170
void get_status(Dictionary &d) const
Definition static_synapse_hom_w.h:196
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:271
const std::string weight("weight")
const std::string size_of("sizeof")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_static_synapse_hom_w(const std::string &name)
Definition static_synapse_hom_w.cpp:32
ConnectionModelProperties
Definition connector_model.h:49
constexpr size_t invalid_port
Value for invalid connection port number.
Definition nest_types.h:141