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

API for synapse formation. More...

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

Go to the source code of this file.

Functions

formation_params_t * synaptogenesis_formation_init (uint8_t **data)
 Read and return an formation parameter data structure from the data stream.
 
static bool synaptogenesis_formation_rule (current_state_t *current_state, const formation_params_t *params, uint32_t time, synaptic_row_t row)
 Formation rule for synaptogenesis; picks what neuron in the current population will have a synapse added, and then performs the addition.
 

Detailed Description

API for synapse formation.

Definition in file formation.h.

Function Documentation

◆ synaptogenesis_formation_init()

formation_params_t * synaptogenesis_formation_init ( uint8_t **  data)

Read and return an formation 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 formation_distance_dependent_impl.c.

◆ synaptogenesis_formation_rule()

static bool synaptogenesis_formation_rule ( current_state_t current_state,
const formation_params_t *  params,
uint32_t  time,
synaptic_row_t  row 
)
inlinestatic

Formation rule for synaptogenesis; picks what neuron in the current population will have a synapse added, and then performs the addition.

Parameters
[in]current_statePointer to current state
[in]paramsPointer to rewiring data
[in]timeTime of formation
[in]rowThe row to form within
Returns
if row was modified