NEST main@f146f75
Loading...
Searching...
No Matches
nest::CorrectionEntrySTDPAxDelay Class Reference

Information on a received pre-synaptic spike which is buffered by an AxonalDelayArchivingNode, so that the weight of the synapse which transmitted it, and the spike itself, can be corrected retrospectively. More...

#include <axonal_delay_archiving_node.h>

Public Member Functions

 CorrectionEntrySTDPAxDelay (const size_t lcid, const synindex syn_id, const double t_last_pre_spike, const double weight_revert, const double new_weight, const double K_plus_revert, const long next_offset=-1)
size_t get_lcid () const
 Local connection index of the synapse which transmitted the spike.
synindex get_syn_id () const
 Synapse type of the synapse which transmitted the spike.
double get_t_last_pre_spike () const
 Time of the last pre-synaptic spike before this spike.
double get_weight_revert () const
 Synaptic weight to revert to (STDP depression needs to be undone) before a correction.
void set_weight_revert (const double weight_revert)
double get_new_weight () const
 Weight of the synapse after the latest correction.
void set_new_weight (const double new_weight)
double get_K_plus_revert () const
 Pre-synaptic trace before the possibly incorrect facilitation.
bool has_next () const
 Whether another spike of the same connection has been buffered after this one.
long get_next_offset () const
 Steps from the slot of this entry to the slot of the next spike on this connection.
void set_next_offset (const long next_offset)

Private Attributes

unsigned int lcid_
 local connection index
unsigned int syn_id_
 synapse-type index
double t_last_pre_spike_
 time of the last pre-synaptic spike before this spike
double weight_revert_
 synaptic weight to revert to (STDP depression needs to be undone)
double new_weight_
 new weight after the latest correction
double K_plus_revert_
 pre-synaptic trace before possibly incorrect facilitation
long next_offset_
 steps to the next spike on this connection (-1 if none)

Detailed Description

Information on a received pre-synaptic spike which is buffered by an AxonalDelayArchivingNode, so that the weight of the synapse which transmitted it, and the spike itself, can be corrected retrospectively.

Entries are handed to the synapse when it is corrected; the synapse reads the entry and records the outcome of the correction in it.

Constructor & Destructor Documentation

◆ CorrectionEntrySTDPAxDelay()

nest::CorrectionEntrySTDPAxDelay::CorrectionEntrySTDPAxDelay ( const size_t lcid,
const synindex syn_id,
const double t_last_pre_spike,
const double weight_revert,
const double new_weight,
const double K_plus_revert,
const long next_offset = -1 )
inline

Member Function Documentation

◆ get_K_plus_revert()

double nest::CorrectionEntrySTDPAxDelay::get_K_plus_revert ( ) const
inline

Pre-synaptic trace before the possibly incorrect facilitation.

References K_plus_revert_.

Referenced by nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::correct_weight_stdp_ax_delay().

Here is the caller graph for this function:

◆ get_lcid()

size_t nest::CorrectionEntrySTDPAxDelay::get_lcid ( ) const
inline

Local connection index of the synapse which transmitted the spike.

References lcid_.

Referenced by nest::Connector< ConnectionT >::correct_weight_stdp_ax_delay(), and nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::correct_weight_stdp_ax_delay().

Here is the caller graph for this function:

◆ get_new_weight()

double nest::CorrectionEntrySTDPAxDelay::get_new_weight ( ) const
inline

Weight of the synapse after the latest correction.

References new_weight_.

◆ get_next_offset()

long nest::CorrectionEntrySTDPAxDelay::get_next_offset ( ) const
inline

Steps from the slot of this entry to the slot of the next spike on this connection.

Stored as an interval rather than a lag because the lag of a given slot decreases by min_delay every slice.

References next_offset_.

◆ get_syn_id()

synindex nest::CorrectionEntrySTDPAxDelay::get_syn_id ( ) const
inline

Synapse type of the synapse which transmitted the spike.

References syn_id_.

Referenced by nest::ConnectionManager::correct_weight_stdp_ax_delay(), and nest::Connector< ConnectionT >::correct_weight_stdp_ax_delay().

Here is the caller graph for this function:

◆ get_t_last_pre_spike()

double nest::CorrectionEntrySTDPAxDelay::get_t_last_pre_spike ( ) const
inline

Time of the last pre-synaptic spike before this spike.

References t_last_pre_spike_.

Referenced by nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::correct_weight_stdp_ax_delay().

Here is the caller graph for this function:

◆ get_weight_revert()

double nest::CorrectionEntrySTDPAxDelay::get_weight_revert ( ) const
inline

Synaptic weight to revert to (STDP depression needs to be undone) before a correction.

References weight_revert_.

Referenced by nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::correct_weight_stdp_ax_delay().

Here is the caller graph for this function:

◆ has_next()

bool nest::CorrectionEntrySTDPAxDelay::has_next ( ) const
inline

Whether another spike of the same connection has been buffered after this one.

If so, that spike has to revert to the weight this entry ends up with.

References next_offset_.

◆ set_new_weight()

void nest::CorrectionEntrySTDPAxDelay::set_new_weight ( const double new_weight)
inline

References new_weight_.

Referenced by nest::stdp_pl_synapse_hom_ax_delay< targetidentifierT >::correct_weight_stdp_ax_delay().

Here is the caller graph for this function:

◆ set_next_offset()

void nest::CorrectionEntrySTDPAxDelay::set_next_offset ( const long next_offset)
inline

References next_offset_.

◆ set_weight_revert()

void nest::CorrectionEntrySTDPAxDelay::set_weight_revert ( const double weight_revert)
inline

References weight_revert_.

Member Data Documentation

◆ K_plus_revert_

double nest::CorrectionEntrySTDPAxDelay::K_plus_revert_
private

pre-synaptic trace before possibly incorrect facilitation

Referenced by CorrectionEntrySTDPAxDelay(), and get_K_plus_revert().

◆ lcid_

unsigned int nest::CorrectionEntrySTDPAxDelay::lcid_
private

local connection index

Referenced by CorrectionEntrySTDPAxDelay(), and get_lcid().

◆ new_weight_

double nest::CorrectionEntrySTDPAxDelay::new_weight_
private

new weight after the latest correction

Referenced by CorrectionEntrySTDPAxDelay(), get_new_weight(), and set_new_weight().

◆ next_offset_

long nest::CorrectionEntrySTDPAxDelay::next_offset_
private

steps to the next spike on this connection (-1 if none)

Referenced by CorrectionEntrySTDPAxDelay(), get_next_offset(), has_next(), and set_next_offset().

◆ syn_id_

unsigned int nest::CorrectionEntrySTDPAxDelay::syn_id_
private

synapse-type index

Referenced by CorrectionEntrySTDPAxDelay(), and get_syn_id().

◆ t_last_pre_spike_

double nest::CorrectionEntrySTDPAxDelay::t_last_pre_spike_
private

time of the last pre-synaptic spike before this spike

Referenced by CorrectionEntrySTDPAxDelay(), and get_t_last_pre_spike().

◆ weight_revert_

double nest::CorrectionEntrySTDPAxDelay::weight_revert_
private

synaptic weight to revert to (STDP depression needs to be undone)

Referenced by CorrectionEntrySTDPAxDelay(), get_weight_revert(), and set_weight_revert().


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