NEST main@f146f75
Loading...
Searching...
No Matches
nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT > Class Template Reference

#include <stdp_pl_synapse_hom_ax_delay.h>

Inheritance diagram for nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >:
[legend]
Collaboration diagram for nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >:
[legend]

Classes

class  ConnTestDummyNode

Public Types

typedef STDPPLHomAxDelayCommonProperties CommonPropertiesType
typedef Connection< targetidentifierT, AxonalDendriticDelay > ConnectionBase

Public Member Functions

 stdp_pl_synapse_hom_ax_delay ()
 Default Constructor.
 stdp_pl_synapse_hom_ax_delay (const stdp_pl_synapse_hom_ax_delay &)=default
 Copy constructor from a property object.
stdp_pl_synapse_hom_ax_delay & operator= (const stdp_pl_synapse_hom_ax_delay &)=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 STDPPLHomAxDelayCommonProperties &)
 Send an event to the receiver of this connection.
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 STDPPLHomAxDelayCommonProperties &cp)
 Framework for STDP with predominantly axonal delays: Correct this synapse and the corresponding previously sent spike taking into account a new post-synaptic spike.
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_axonal_delay_ms () const
 Get 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.
long get_delay_steps () const
 Return the delay of the connection in steps.
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.
size_t get_rport () const
Node * get_target (const size_t tid) const
Public Member Functions inherited from nest::Connection< targetidentifierT, AxonalDendriticDelay >
 Connection ()
 Connection (const Connection< targetidentifierT, AxonalDendriticDelay > &rhs)=default
Connection & operator= (const Connection< targetidentifierT, AxonalDendriticDelay > &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, AxonalDendriticDelay >
static constexpr bool requires_axonal_delay_correction
static constexpr ConnectionModelProperties properties
static constexpr bool supports_flush_event

Private Member Functions

double facilitate_ (double w, double kplus, const STDPPLHomAxDelayCommonProperties &cp)
double depress_ (double w, double kminus, const STDPPLHomAxDelayCommonProperties &cp)

Private Attributes

double weight_
double Kplus_
double t_lastspike_

Additional Inherited Members

Protected Member Functions inherited from nest::Connection< targetidentifierT, AxonalDendriticDelay >
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, AxonalDendriticDelay >
targetidentifierT target_
bool more_targets_
bool disabled_
AxonalDendriticDelay delay_

Member Typedef Documentation

◆ CommonPropertiesType

template<typename targetidentifierT>
typedef STDPPLHomAxDelayCommonProperties nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::CommonPropertiesType

◆ ConnectionBase

template<typename targetidentifierT>
typedef Connection< targetidentifierT, AxonalDendriticDelay > nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::ConnectionBase

Constructor & Destructor Documentation

◆ stdp_pl_synapse_hom_ax_delay() [1/2]

template<typename targetidentifierT>
nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::stdp_pl_synapse_hom_ax_delay ( )

Default Constructor.

Sets default values for all parameters. Needed by GenericConnectorModel.

References Kplus_, t_lastspike_, and weight_.

Referenced by operator=(), and stdp_pl_synapse_hom_ax_delay().

Here is the caller graph for this function:

◆ stdp_pl_synapse_hom_ax_delay() [2/2]

template<typename targetidentifierT>
nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::stdp_pl_synapse_hom_ax_delay ( const stdp_pl_synapse_hom_ax_delay< targetidentifierT > & )
default

Copy constructor from a property object.

Needs to be defined properly in order for GenericConnector to work.

References stdp_pl_synapse_hom_ax_delay().

Here is the call graph for this function:

Member Function Documentation

◆ check_connection()

template<typename targetidentifierT>
void nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::check_connection ( Node & s,
Node & t,
const size_t receptor_type,
const synindex syn_id,
const CommonPropertiesType &  )
inline

◆ correct_weight_stdp_ax_delay()

template<typename targetidentifierT>
void nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::correct_weight_stdp_ax_delay ( const size_t tid,
CorrectionEntrySTDPAxDelay & entry,
const double t_spike_critical_interval_end,
const double t_post_spike,
const STDPPLHomAxDelayCommonProperties & cp )

Framework for STDP with predominantly axonal delays: Correct this synapse and the corresponding previously sent spike taking into account a new post-synaptic spike.

The new weight of the synapse is recorded in the correction entry.

References depress_(), facilitate_(), get_axonal_delay_ms(), get_delay_steps(), get_dendritic_delay_ms(), nest::CorrectionEntrySTDPAxDelay::get_K_plus_revert(), nest::CorrectionEntrySTDPAxDelay::get_lcid(), get_rport(), nest::CorrectionEntrySTDPAxDelay::get_t_last_pre_spike(), get_target(), nest::CorrectionEntrySTDPAxDelay::get_weight_revert(), nest::kernel(), nest::CorrectionEntrySTDPAxDelay::set_new_weight(), nest::STDPPLHomAxDelayCommonProperties::tau_plus_inv_, nest::AxonalDelayArchivingNode::update_weight_revert(), and weight_.

Here is the call graph for this function:

◆ depress_()

template<typename targetidentifierT>
double nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::depress_ ( double w,
double kminus,
const STDPPLHomAxDelayCommonProperties & cp )
inlineprivate

References nest::STDPPLHomAxDelayCommonProperties::alpha_, and nest::STDPPLHomAxDelayCommonProperties::lambda_.

Referenced by correct_weight_stdp_ax_delay(), and send().

Here is the caller graph for this function:

◆ facilitate_()

template<typename targetidentifierT>
double nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::facilitate_ ( double w,
double kplus,
const STDPPLHomAxDelayCommonProperties & cp )
inlineprivate

References nest::STDPPLHomAxDelayCommonProperties::lambda_, and nest::STDPPLHomAxDelayCommonProperties::mu_.

Referenced by correct_weight_stdp_ax_delay(), and send().

Here is the caller graph for this function:

◆ get_axonal_delay_ms()

template<typename targetidentifierT>
double nest::Connection< targetidentifierT, AxonalDendriticDelay >::get_axonal_delay_ms ( ) const
inline

Get the proportion of the transmission delay attributed to the axon.

Referenced by check_connection(), correct_weight_stdp_ax_delay(), and send().

Here is the caller graph for this function:

◆ get_axonal_delay_steps()

template<typename targetidentifierT>
double nest::Connection< targetidentifierT, AxonalDendriticDelay >::get_axonal_delay_steps ( ) const
inline

Get the proportion of the transmission delay attributed to the axon.

◆ get_delay_steps()

template<typename targetidentifierT>
long nest::Connection< targetidentifierT, AxonalDendriticDelay >::get_delay_steps ( ) const
inline

Return the delay of the connection in steps.

Referenced by correct_weight_stdp_ax_delay(), and send().

Here is the caller graph for this function:

◆ get_dendritic_delay_ms()

template<typename targetidentifierT>
double nest::Connection< targetidentifierT, AxonalDendriticDelay >::get_dendritic_delay_ms ( ) const
inline

Return the proportion of the transmission delay attributed to the dendrite.

Referenced by check_connection(), correct_weight_stdp_ax_delay(), and send().

Here is the caller graph for this function:

◆ get_dendritic_delay_steps()

template<typename targetidentifierT>
long nest::Connection< targetidentifierT, AxonalDendriticDelay >::get_dendritic_delay_steps ( ) const
inline

Return the proportion of the transmission delay attributed to the dendrite.

Referenced by send().

Here is the caller graph for this function:

◆ get_rport()

template<typename targetidentifierT>
size_t nest::Connection< targetidentifierT, AxonalDendriticDelay >::get_rport ( ) const
inline

Referenced by correct_weight_stdp_ax_delay(), and send().

Here is the caller graph for this function:

◆ get_status()

template<typename targetidentifierT>
void nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::get_status ( Dictionary & d) const

Get all properties of this connection and put them into a dictionary.

References nest::Connection< targetidentifierT, AxonalDendriticDelay >::get_status(), nest::names::Kplus(), Kplus_, nest::names::size_of(), nest::names::weight(), and weight_.

Here is the call graph for this function:

◆ get_target()

template<typename targetidentifierT>
Node * nest::Connection< targetidentifierT, AxonalDendriticDelay >::get_target ( const size_t tid) const
inline

Referenced by correct_weight_stdp_ax_delay(), and send().

Here is the caller graph for this function:

◆ operator=()

◆ send()

template<typename targetidentifierT>
bool nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::send ( Event & e,
size_t t,
const STDPPLHomAxDelayCommonProperties & cp )
inline

Send an event to the receiver of this connection.

Parameters
eThe event to send

References nest::AxonalDelayArchivingNode::add_correction_entry_stdp_ax_delay(), depress_(), facilitate_(), get_axonal_delay_ms(), get_delay_steps(), get_dendritic_delay_ms(), get_dendritic_delay_steps(), get_rport(), get_target(), nest::kernel(), Kplus_, t_lastspike_, nest::STDPPLHomAxDelayCommonProperties::tau_plus_inv_, and weight_.

Here is the call graph for this function:

◆ set_status()

template<typename targetidentifierT>
void nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::set_status ( const Dictionary & d,
ConnectorModel & cm )

Set properties of this connection from the values given in dictionary.

References nest::names::Kplus(), Kplus_, nest::Connection< targetidentifierT, AxonalDendriticDelay >::set_status(), nest::names::weight(), and weight_.

Here is the call graph for this function:

◆ set_weight()

template<typename targetidentifierT>
void nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::set_weight ( double w)
inline

References weight_.

Member Data Documentation

◆ Kplus_

template<typename targetidentifierT>
double nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::Kplus_
private

◆ properties

template<typename targetidentifierT>
ConnectionModelProperties nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::properties
staticconstexpr

◆ t_lastspike_

template<typename targetidentifierT>
double nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::t_lastspike_
private

◆ weight_

template<typename targetidentifierT>
double nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::weight_
private

The documentation for this class was generated from the following file: