Class representing an STDP connection with homogeneous parameters, i.e. More...
#include <stdp_facetshw_synapse_hom.h>
Classes | |
| class | ConnTestDummyNode |
Public Types | |
| typedef STDPFACETSHWHomCommonProperties< targetidentifierT > | CommonPropertiesType |
| typedef Connection< targetidentifierT, TotalDelay > | ConnectionBase |
Public Member Functions | |
| stdp_facetshw_synapse_hom () | |
| Default Constructor. | |
| stdp_facetshw_synapse_hom (const stdp_facetshw_synapse_hom &)=default | |
| Copy constructor from a property object. | |
| stdp_facetshw_synapse_hom & | operator= (const stdp_facetshw_synapse_hom &)=default |
| 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. | |
| bool | send (Event &e, size_t t, const STDPFACETSHWHomCommonProperties< targetidentifierT > &) |
| Send an event to the receiver of this connection. | |
| void | check_connection (Node &s, Node &t, const size_t receptor_type, const synindex syn_id, const CommonPropertiesType &) |
| void | set_weight (double w) |
| double | get_delay_ms () const |
| Return the delay of the connection in ms. | |
| 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, TotalDelay > | |
| Connection () | |
| Connection (const Connection< targetidentifierT, TotalDelay > &rhs)=default | |
| Connection & | operator= (const Connection< targetidentifierT, TotalDelay > &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. | |
| void | correct_weight_stdp_ax_delay (const size_t tid, CorrectionEntrySTDPAxDelay &entry, const double t_spike_critical_interval_end, const double t_post_spike, const CommonSynapseProperties &) |
| Framework for STDP with predominantly axonal delays: Correct this synapse and the corresponding previously sent spike taking into account a new post-synaptic spike. | |
| double | get_dendritic_delay_ms () const |
| Return the proportion of the transmission delay attributed to the dendrite. | |
| long | get_dendritic_delay_steps () const |
| Return the proportion of the transmission delay attributed to the dendrite. | |
| void | set_dendritic_delay_ms (const double d) |
| Set the proportion of the transmission delay attributed to the dendrite. | |
| void | set_dendritic_delay_steps (const long d) |
| Set the proportion of the transmission delay attributed to the dendrite. | |
| void | set_axonal_delay_ms (const double d) |
| Set the proportion of the transmission delay attributed to the axon. | |
| double | get_axonal_delay_ms () const |
| Get the proportion of the transmission delay attributed to the axon. | |
| void | set_axonal_delay_steps (const long d) |
| Set the proportion of the transmission delay attributed to the axon. | |
| double | get_axonal_delay_steps () const |
| Get the proportion of the transmission delay attributed to the axon. | |
| double | get_delay_ms () 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_ms (const double d) |
| Set the delay of the connection. | |
| void | set_delay_steps (const long d) |
| Set the delay of the connection in steps. | |
| 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 synapse. | |
| bool | is_disabled () const |
| Returns a flag denoting if the synapse is disabled. | |
Static Public Attributes | |
| static constexpr ConnectionModelProperties | properties |
| Static Public Attributes inherited from nest::Connection< targetidentifierT, TotalDelay > | |
| static constexpr bool | requires_axonal_delay_correction |
| static constexpr ConnectionModelProperties | properties |
| static constexpr bool | supports_flush_event |
Private Member Functions | |
| bool | eval_function_ (double a_causal, double a_acausal, double a_thresh_th, double a_thresh_tl, std::vector< long > configbit) |
| unsigned int | weight_to_entry_ (double weight, double weight_per_lut_entry) |
| double | entry_to_weight_ (unsigned int discrete_weight, double weight_per_lut_entry) |
| unsigned int | lookup_ (unsigned int discrete_weight_, std::vector< long > table) |
Private Attributes | |
| double | weight_ |
| double | a_causal_ |
| double | a_acausal_ |
| double | a_thresh_th_ |
| double | a_thresh_tl_ |
| bool | init_flag_ |
| long | synapse_id_ |
| double | next_readout_time_ |
| unsigned int | discrete_weight_ |
| double | t_lastspike_ |
Additional Inherited Members | |
| Protected Member Functions inherited from nest::Connection< targetidentifierT, TotalDelay > | |
| void | check_connection_ (Node &dummy_target, Node &source, Node &target, const synindex syn_id, 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, TotalDelay > | |
| targetidentifierT | target_ |
| bool | more_targets_ |
| bool | disabled_ |
| TotalDelay | delay_ |
Class representing an STDP connection with homogeneous parameters, i.e.
parameters are the same for all synapses.
| typedef STDPFACETSHWHomCommonProperties< targetidentifierT > nest::stdp_facetshw_synapse_hom< targetidentifierT >::CommonPropertiesType |
| typedef Connection< targetidentifierT, TotalDelay > nest::stdp_facetshw_synapse_hom< targetidentifierT >::ConnectionBase |
| nest::stdp_facetshw_synapse_hom< targetidentifierT >::stdp_facetshw_synapse_hom | ( | ) |
Default Constructor.
Sets default values for all parameters. Needed by GenericConnectorModel.
References a_acausal_, a_causal_, a_thresh_th_, a_thresh_tl_, discrete_weight_, init_flag_, next_readout_time_, synapse_id_, t_lastspike_, and weight_.
Referenced by operator=(), and stdp_facetshw_synapse_hom().
|
default |
Copy constructor from a property object.
Needs to be defined properly in order for GenericConnector to work.
References stdp_facetshw_synapse_hom().
|
inline |
References nest::Connection< targetidentifierT, TotalDelay >::check_connection_(), get_delay_ms(), nest::Node::register_stdp_connection(), and t_lastspike_.
|
inlineprivate |
|
inlineprivate |
|
inline |
Return the delay of the connection in ms.
Referenced by check_connection(), and send().
|
inline |
Return the delay of the connection in steps.
Referenced by send().
|
inline |
| void nest::stdp_facetshw_synapse_hom< targetidentifierT >::get_status | ( | Dictionary & | d | ) | const |
Get all properties of this connection and put them into a dictionary.
References nest::names::a_acausal(), a_acausal_, nest::names::a_causal(), a_causal_, nest::names::a_thresh_th(), a_thresh_th_, nest::names::a_thresh_tl(), a_thresh_tl_, nest::Connection< targetidentifierT, TotalDelay >::get_status(), nest::names::init_flag(), init_flag_, nest::names::next_readout_time(), next_readout_time_, nest::names::synapse_id(), synapse_id_, nest::names::weight(), and weight_.
|
inline |
|
inlineprivate |
|
default |
References nest::Connection< targetidentifierT, TotalDelay >::get_delay_ms(), nest::Connection< targetidentifierT, TotalDelay >::get_delay_steps(), nest::Connection< targetidentifierT, TotalDelay >::get_rport(), nest::Connection< targetidentifierT, TotalDelay >::get_target(), and stdp_facetshw_synapse_hom().
|
inline |
Send an event to the receiver of this connection.
| e | The event to send |
| e | The event to send |
| p | The port under which this connection is stored in the Connector. |
References a_acausal_, a_causal_, a_thresh_th_, a_thresh_tl_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::calc_readout_cycle_duration_(), nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::configbit_0_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::configbit_1_, discrete_weight_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::driver_readout_time_, entry_to_weight_(), eval_function_(), get_delay_ms(), get_delay_steps(), get_rport(), get_target(), init_flag_, nest::kernel(), lookup_(), nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::lookuptable_0_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::lookuptable_1_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::lookuptable_2_, next_readout_time_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::no_synapses_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::readout_cycle_duration_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::reset_pattern_, synapse_id_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::synapses_per_driver_, t_lastspike_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::tau_minus_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::tau_plus_, weight_, nest::STDPFACETSHWHomCommonProperties< targetidentifierT >::weight_per_lut_entry_, and weight_to_entry_().
| void nest::stdp_facetshw_synapse_hom< targetidentifierT >::set_status | ( | const Dictionary & | d, |
| ConnectorModel & | cm ) |
Set properties of this connection from the values given in dictionary.
References nest::names::a_acausal(), a_acausal_, nest::names::a_causal(), a_causal_, nest::names::a_thresh_th(), a_thresh_th_, nest::names::a_thresh_tl(), a_thresh_tl_, nest::names::init_flag(), init_flag_, nest::names::next_readout_time(), next_readout_time_, nest::Connection< targetidentifierT, TotalDelay >::set_status(), nest::names::synapse_id(), synapse_id_, nest::names::weight(), and weight_.
|
inline |
References weight_.
|
inlineprivate |
|
private |
Referenced by get_status(), send(), set_status(), and stdp_facetshw_synapse_hom().
|
private |
Referenced by get_status(), send(), set_status(), and stdp_facetshw_synapse_hom().
|
private |
Referenced by get_status(), send(), set_status(), and stdp_facetshw_synapse_hom().
|
private |
Referenced by get_status(), send(), set_status(), and stdp_facetshw_synapse_hom().
|
private |
Referenced by lookup_(), send(), and stdp_facetshw_synapse_hom().
|
private |
Referenced by get_status(), send(), set_status(), and stdp_facetshw_synapse_hom().
|
private |
Referenced by get_status(), send(), set_status(), and stdp_facetshw_synapse_hom().
|
staticconstexpr |
|
private |
Referenced by get_status(), send(), set_status(), and stdp_facetshw_synapse_hom().
|
private |
Referenced by check_connection(), send(), and stdp_facetshw_synapse_hom().
|
private |
Referenced by get_status(), send(), set_status(), set_weight(), and stdp_facetshw_synapse_hom().