sPyNNaker neural_modelling 7.1.1
Loading...
Searching...
No Matches
Functions
elimination.h File Reference

API for synapse elimination. More...

#include <neuron/structural_plasticity/synaptogenesis/sp_structs.h>

Go to the source code of this file.

Functions

elimination_params_t * synaptogenesis_elimination_init (uint8_t **data)
 Read and return an elimination parameter data structure from the data stream.
 
static bool synaptogenesis_elimination_rule (current_state_t *current_state, const elimination_params_t *params, uint32_t time, synaptic_row_t row)
 Elimination rule for synaptogenesis.
 

Detailed Description

API for synapse elimination.

Definition in file elimination.h.

Function Documentation

◆ synaptogenesis_elimination_init()

elimination_params_t * synaptogenesis_elimination_init ( uint8_t **  data)

Read and return an elimination parameter data structure from the data stream.

Parameters
[in,out]dataThe data stream to read from, updated to the new position after the read is done
Returns
the read parameters data structure

Definition at line 21 of file elimination_random_by_weight_impl.c.

◆ synaptogenesis_elimination_rule()

static bool synaptogenesis_elimination_rule ( current_state_t current_state,
const elimination_params_t *  params,
uint32_t  time,
synaptic_row_t  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