Class implementing a feedback connection model for e-prop plasticity with additional biological features. More...
#include <eprop_learning_signal_connection.h>
Public Types | |
| typedef CommonSynapseProperties | CommonPropertiesType |
| Type of the common synapse properties. | |
| typedef Connection< targetidentifierT > | ConnectionBase |
| Type of the connection base. | |
Public Member Functions | |
| eprop_learning_signal_connection () | |
| Default constructor. | |
| std::unique_ptr< SecondaryEvent > | get_secondary_event () |
| Get the secondary learning signal event. | |
| 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. | |
| bool | send (Event &e, size_t t, const CommonSynapseProperties &) |
| Send the learning signal event. | |
| void | get_status (Dictionary &d) const |
| Get the model attributes and their values. | |
| void | set_status (const Dictionary &d, ConnectorModel &cm) |
| Set the values of the model attributes. | |
| void | set_weight (const double w) |
| Set the synaptic weight to the provided value. | |
| long | get_delay_steps () const |
| Return the delay of the connection in steps. | |
| size_t | get_rport () const |
| Node * | get_target (const size_t tid) const |
Public Member Functions inherited from nest::Connection< targetidentifierT > | |
| Connection () | |
| Connection (const Connection< targetidentifierT > &rhs)=default | |
| Connection & | operator= (const Connection< targetidentifierT > &rhs)=default |
| std::unique_ptr< SecondaryEvent > | get_secondary_event () |
| Get a pointer to an instance of a SecondaryEvent if this connection supports secondary events. | |
| void | get_status (Dictionary &d) const |
| Get all properties of this connection and put them into a dictionary. | |
| void | set_status (const Dictionary &d, ConnectorModel &cm) |
| Set properties of this connection from the values given in dictionary. | |
| void | check_synapse_params (const Dictionary &d) const |
| Check syn_spec dictionary for parameters that are not allowed with the given connection. | |
| void | calibrate (const TimeConverter &) |
| Calibrate the delay of this connection to the desired resolution. | |
| double | get_delay () const |
| Return the delay of the connection in ms. | |
| long | get_delay_steps () const |
| Return the delay of the connection in steps. | |
| void | set_delay (const double delay) |
| Set the delay of the connection. | |
| void | set_delay_steps (const long delay) |
| Set the delay of the connection in steps. | |
| void | set_syn_id (synindex syn_id) |
| Set the synapse id of the connection. | |
| synindex | get_syn_id () const |
| Get the synapse id of the connection. | |
| long | get_label () const |
| void | trigger_update_weight (const size_t, const std::vector< spikecounter > &, const double, const CommonSynapseProperties &) |
| Triggers an update of a synaptic weight. | |
| Node * | get_target (const size_t tid) const |
| size_t | get_rport () const |
| void | set_source_has_more_targets (const bool more_targets) |
| Sets a flag in the connection to signal that the following connection has the same source. | |
| bool | source_has_more_targets () const |
| Returns a flag denoting whether the connection has source subsequent targets. | |
| void | disable () |
| Disables the connection. | |
| bool | is_disabled () const |
| Returns a flag denoting if the connection is disabled. | |
Static Public Attributes | |
| static constexpr ConnectionModelProperties | properties = ConnectionModelProperties::HAS_DELAY |
| Properties of the connection model. | |
Static Public Attributes inherited from nest::Connection< targetidentifierT > | |
| static constexpr ConnectionModelProperties | properties = ConnectionModelProperties::NONE |
| static constexpr bool | supports_flush_event = false |
Private Attributes | |
| double | weight_ |
| Synaptic weight. | |
Additional Inherited Members | |
Protected Member Functions inherited from nest::Connection< targetidentifierT > | |
| 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 and receptor type requested by the sender. | |
Protected Attributes inherited from nest::Connection< targetidentifierT > | |
| targetidentifierT | target_ |
| SynIdDelay | syn_id_delay_ |
Class implementing a feedback connection model for e-prop plasticity with additional biological features.
Class implementing a synapse model transmitting secondary feedback learning signals for e-prop plasticity according to Bellec et al. (2020) with additional biological features described in Korcsak-Gorzo et al. (2025).
| typedef CommonSynapseProperties nest::eprop_learning_signal_connection< targetidentifierT >::CommonPropertiesType |
Type of the common synapse properties.
| typedef Connection< targetidentifierT > nest::eprop_learning_signal_connection< targetidentifierT >::ConnectionBase |
Type of the connection base.
|
inline |
Default constructor.
|
inline |
Check if the target accepts the event and receptor type requested by the sender.
References nest::Node::handles_test_event(), nest::Node::sends_secondary_event(), and nest::Event::set_sender().
|
inline |
Return the delay of the connection in steps.
Referenced by nest::eprop_learning_signal_connection< targetidentifierT >::send().
|
inline |
Referenced by nest::eprop_learning_signal_connection< targetidentifierT >::send().
| std::unique_ptr< SecondaryEvent > nest::eprop_learning_signal_connection< targetidentifierT >::get_secondary_event | ( | ) |
Get the secondary learning signal event.
| void nest::eprop_learning_signal_connection< targetidentifierT >::get_status | ( | Dictionary & | d | ) | const |
Get the model attributes and their values.
References nest::names::size_of(), and nest::names::weight().
|
inline |
Referenced by nest::eprop_learning_signal_connection< targetidentifierT >::send().
|
inline |
Send the learning signal event.
References nest::eprop_learning_signal_connection< targetidentifierT >::get_delay_steps(), nest::eprop_learning_signal_connection< targetidentifierT >::get_rport(), nest::eprop_learning_signal_connection< targetidentifierT >::get_target(), and nest::eprop_learning_signal_connection< targetidentifierT >::weight_.
| void nest::eprop_learning_signal_connection< targetidentifierT >::set_status | ( | const Dictionary & | d, |
| ConnectorModel & | cm | ||
| ) |
Set the values of the model attributes.
References nest::names::weight().
|
inline |
Set the synaptic weight to the provided value.
References nest::eprop_learning_signal_connection< targetidentifierT >::weight_.
|
staticconstexpr |
Properties of the connection model.
|
private |
Synaptic weight.
Referenced by nest::eprop_learning_signal_connection< targetidentifierT >::send(), and nest::eprop_learning_signal_connection< targetidentifierT >::set_weight().