sPyNNaker neural_modelling 7.1.1
Loading...
Searching...
No Matches
Data Structures | Functions
timing_recurrent_pre_stochastic_impl.h File Reference

Recurrent stochastic timing rule. More...

#include <_STRUCTURE_PATH(synapse_structure_weight_state_accumulator_window_impl.h)>
#include "timing_recurrent_common.h"

Go to the source code of this file.

Data Structures

struct  post_trace_t
 The type of post-spike traces. More...
 
struct  pre_trace_t
 The type of pre-spike traces. More...
 
struct  plasticity_trace_region_data_t
 Configuration information about plasticity traces. More...
 

Functions

static bool timing_recurrent_in_pre_window (uint32_t time_since_last_event, update_state_t previous_state)
 Check if there was an event in the pre-window.
 
static bool timing_recurrent_in_post_window (uint32_t time_since_last_event, update_state_t previous_state)
 Check if there was an event in the post-window.
 
static update_state_t timing_recurrent_calculate_pre_window (update_state_t previous_state)
 Update the state with the pre-window information.
 
static update_state_t timing_recurrent_calculate_post_window (update_state_t previous_state)
 Update the state with the post-window information.
 

Detailed Description

Recurrent stochastic timing rule.

Definition in file timing_recurrent_pre_stochastic_impl.h.


Data Structure Documentation

◆ post_trace_t

struct post_trace_t

The type of post-spike traces.

Definition at line 25 of file timing_nearest_pair_impl.h.

Data Fields
int16_t o1
int16_t o2
uint32_t last_spike_time

◆ pre_trace_t

struct pre_trace_t

The type of pre-spike traces.

Definition at line 28 of file timing_nearest_pair_impl.h.

Data Fields
int16_t r1
int16_t r2

◆ plasticity_trace_region_data_t

struct plasticity_trace_region_data_t

Configuration information about plasticity traces.

Definition at line 44 of file timing_recurrent_dual_fsm_impl.h.

Data Fields
int32_t accumulator_depression_plus_one Threshold above which we won't hit depression trigger after decrement.
int32_t accumulator_potentiation_minus_one Threshold below which we won't hit potentiation trigger after increment.
int32_t alpha

Function Documentation

◆ timing_recurrent_in_pre_window()

static bool timing_recurrent_in_pre_window ( uint32_t  time_since_last_event,
update_state_t  previous_state 
)
inlinestatic

Check if there was an event in the pre-window.

Parameters
[in]time_since_last_eventLength of time since last event
[in]previous_stateThe state we're in right now
Returns
True if an event is there.

Definition at line 44 of file timing_recurrent_pre_stochastic_impl.h.

◆ timing_recurrent_in_post_window()

static bool timing_recurrent_in_post_window ( uint32_t  time_since_last_event,
update_state_t  previous_state 
)
inlinestatic

Check if there was an event in the post-window.

Parameters
[in]time_since_last_eventLength of time since last event
[in]previous_stateThe state we're in right now
Returns
True if an event is there.

Definition at line 53 of file timing_recurrent_pre_stochastic_impl.h.

◆ timing_recurrent_calculate_pre_window()

static update_state_t timing_recurrent_calculate_pre_window ( update_state_t  previous_state)
inlinestatic

Update the state with the pre-window information.

Parameters
[in]previous_stateThe state we're in right now
Returns
The new state.

Definition at line 61 of file timing_recurrent_pre_stochastic_impl.h.

◆ timing_recurrent_calculate_post_window()

static update_state_t timing_recurrent_calculate_post_window ( update_state_t  previous_state)
inlinestatic

Update the state with the post-window information.

Parameters
[in]previous_stateThe state we're in right now
Returns
The new state.

Definition at line 77 of file timing_recurrent_pre_stochastic_impl.h.