23#ifndef EPROP_LEARNING_SIGNAL_CONNECTION_H
24#define EPROP_LEARNING_SIGNAL_CONNECTION_H
124template <
typename target
identifierT >
194template <
typename target
identifierT >
197template <
typename target
identifierT >
201 ConnectionBase::get_status( d );
206template <
typename target
identifierT >
210 ConnectionBase::set_status( d, cm );
214template <
typename target
identifierT >
215std::unique_ptr< SecondaryEvent >
218 return std::make_unique< LearningSignalConnectionEvent >();
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Class containing the common properties for all connections of a certain type.
Definition common_synapse_properties.h:50
Base class for representing connections.
Definition connection.h:110
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
Definition connector_model.h:69
Encapsulate information sent between nodes.
Definition event.h:103
void set_sender(Node &)
Change pointer to sending Node.
Definition event.h:920
Event for learning signal connections.
Definition secondary_event.h:384
Base class for all NEST network objects.
Definition node.h:99
Class implementing a feedback connection model for e-prop plasticity with additional biological featu...
Definition eprop_learning_signal_connection.h:126
CommonSynapseProperties CommonPropertiesType
Type of the common synapse properties.
Definition eprop_learning_signal_connection.h:130
bool send(Event &e, size_t t, const CommonSynapseProperties &)
Send the learning signal event.
Definition eprop_learning_signal_connection.h:166
long get_delay_steps() const
Return the delay of the connection in steps.
Definition connection.h:181
static constexpr ConnectionModelProperties properties
Properties of the connection model.
Definition eprop_learning_signal_connection.h:136
Node * get_target(const size_t tid) const
Definition connection.h:239
std::unique_ptr< SecondaryEvent > get_secondary_event()
Get the secondary learning signal event.
Definition eprop_learning_signal_connection.h:216
void set_weight(const double w)
Set the synaptic weight to the provided value.
Definition eprop_learning_signal_connection.h:184
void set_status(const Dictionary &d, ConnectorModel &cm)
Set the values of the model attributes.
Definition eprop_learning_signal_connection.h:208
eprop_learning_signal_connection()
Default constructor.
Definition eprop_learning_signal_connection.h:139
size_t get_rport() const
Definition connection.h:244
double weight_
Synaptic weight.
Definition eprop_learning_signal_connection.h:191
void check_connection(Node &s, Node &t, size_t receptor_type, const CommonPropertiesType &)
Check if the target accepts the event and receptor type requested by the sender.
Definition eprop_learning_signal_connection.h:154
Connection< targetidentifierT > ConnectionBase
Type of the connection base.
Definition eprop_learning_signal_connection.h:133
void get_status(Dictionary &d) const
Get the model attributes and their values.
Definition eprop_learning_signal_connection.h:199
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
virtual void sends_secondary_event(GapJunctionEvent &ge)
Required to check, if source neuron may send a SecondaryEvent.
Definition node.cpp:381
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_eprop_learning_signal_connection(const std::string &name)
Definition eprop_learning_signal_connection.cpp:32
ConnectionModelProperties
Definition connector_model.h:49