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

Synapse elimination by weighted random selection. More...

#include "elimination.h"

Go to the source code of this file.

Data Structures

struct  elimination_params_t
 Configuration of synapse elimination rule. More...
 

Functions

static bool synaptogenesis_elimination_rule (current_state_t *restrict current_state, const elimination_params_t *params, uint32_t time, synaptic_row_t restrict row)
 Elimination rule for synaptogenesis.
 

Detailed Description

Synapse elimination by weighted random selection.

Definition in file elimination_random_by_weight_impl.h.


Data Structure Documentation

◆ elimination_params

struct elimination_params

Configuration of synapse elimination rule.

Definition at line 25 of file elimination_random_by_weight_impl.h.

Data Fields
uint32_t prob_elim_depression Probability of elimination of depressed synapse.
uint32_t prob_elim_potentiation Probability of elimination of potentiated synapse.
uint32_t threshold

Threshold below which a synapse is depressed, and above which it is potentiated

Function Documentation

◆ synaptogenesis_elimination_rule()

static bool synaptogenesis_elimination_rule ( current_state_t *restrict  current_state,
const elimination_params_t *  params,
uint32_t  time,
synaptic_row_t restrict  row 
)
inlinestatic

Elimination rule for synaptogenesis.

Parameters
[in,out]current_statePointer to current state
[in]paramsThe elimination rule configuration.
[in]timeTime of elimination
[in,out]rowThe row to eliminate from
Returns
if row was modified

Definition at line 41 of file elimination_random_by_weight_impl.h.