Timing rule using msot recent spike pair.
More...
Go to the source code of this file.
|
| static post_trace_t | timing_get_initial_post_trace (void) |
| | Get an initial post-synaptic timing trace.
|
| |
| static post_trace_t | timing_add_post_spike (uint32_t time, uint32_t last_time, post_trace_t last_trace) |
| | Add a post spike to the post trace.
|
| |
| static post_trace_t | timing_decay_post (uint32_t time, uint32_t last_time, post_trace_t last_trace) |
| |
| static pre_trace_t | timing_add_pre_spike (uint32_t time, uint32_t last_time, pre_trace_t last_trace) |
| | Add a pre spike to the pre trace.
|
| |
| static update_state_t | timing_apply_pre_spike (uint32_t time, pre_trace_t trace, uint32_t last_pre_time, pre_trace_t last_pre_trace, uint32_t last_post_time, post_trace_t last_post_trace, update_state_t previous_state) |
| | Apply a pre-spike timing rule state update.
|
| |
| static update_state_t | timing_apply_post_spike (uint32_t time, post_trace_t trace, uint32_t last_pre_time, pre_trace_t last_pre_trace, uint32_t last_post_time, post_trace_t last_post_trace, update_state_t previous_state) |
| | Apply a post-spike timing rule state update.
|
| |
Timing rule using msot recent spike pair.
Definition in file timing_nearest_pair_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
◆ timing_get_initial_post_trace()
◆ timing_add_post_spike()
Add a post spike to the post trace.
- Parameters
-
| [in] | time | the time of the spike |
| [in] | last_time | the time of the previous spike update |
| [in] | last_trace | the post trace to update |
- Returns
- the updated post trace
Definition at line 56 of file timing_nearest_pair_impl.h.
◆ timing_decay_post()
◆ timing_add_pre_spike()
Add a pre spike to the pre trace.
- Parameters
-
| [in] | time | the time of the spike |
| [in] | last_time | the time of the previous spike update |
| [in] | last_trace | the pre trace to update |
- Returns
- the updated pre trace
Definition at line 77 of file timing_nearest_pair_impl.h.
◆ timing_apply_pre_spike()
Apply a pre-spike timing rule state update.
- Parameters
-
| [in] | time | the current time |
| [in] | trace | the current pre-spike trace |
| [in] | last_pre_time | the time of the last pre-spike |
| [in] | last_pre_trace | the trace of the last pre-spike |
| [in] | last_post_time | the time of the last post-spike |
| [in] | last_post_trace | the trace of the last post-spike |
| [in] | previous_state | the state to update |
- Returns
- the updated state
Definition at line 94 of file timing_nearest_pair_impl.h.
◆ timing_apply_post_spike()
Apply a post-spike timing rule state update.
- Parameters
-
| [in] | time | the current time |
| [in] | trace | the current post-spike trace |
| [in] | last_pre_time | the time of the last pre-spike |
| [in] | last_pre_trace | the trace of the last pre-spike |
| [in] | last_post_time | the time of the last post-spike |
| [in] | last_post_trace | the trace of the last post-spike |
| [in] | previous_state | the state to update |
- Returns
- the updated state
Definition at line 122 of file timing_nearest_pair_impl.h.