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.
Recurrent stochastic timing rule.
Definition in file timing_recurrent_pre_stochastic_impl.h.
◆ 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
◆ 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 |
|
◆ 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_event | Length of time since last event |
[in] | previous_state | The 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_event | Length of time since last event |
[in] | previous_state | The 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()
◆ timing_recurrent_calculate_post_window()
Update the state with the post-window information.
- Parameters
-
[in] | previous_state | The state we're in right now |
- Returns
- The new state.
Definition at line 77 of file timing_recurrent_pre_stochastic_impl.h.