sPyNNaker neural_modelling 7.3.1
|
Synapse formation using a distance-dependent rule. More...
#include "formation.h"
Go to the source code of this file.
Data Structures | |
struct | formation_params_t |
Configuration of synapse formation rule. More... | |
Macros | |
#define | MAX_SHORT 65535 |
Largest value in a uint16_t | |
Functions | |
static int | my_abs (int a) |
abs function | |
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. | |
Synapse formation using a distance-dependent rule.
Definition in file formation_distance_dependent_impl.h.
struct formation_params |
Configuration of synapse formation rule.
Describes the size of grid containing the neurons (the total number of neurons probably ought to be equal to or just a bit under grid_x × grid_y), and two tables of distance-dependent connection probabilities. The FF table describes ??? connection probabilities, and the LAT table describes lateral connection probabilities. Both are keyed by the square of the inter-neuron distance.
Note that both pre- and post-neurons are assumed to be on the same size of grid, and the inter-layer distance is assumed to be constant (so it can be accounted for in the construction of the tables).
Definition at line 39 of file formation_distance_dependent_impl.h.
#define MAX_SHORT 65535 |
Largest value in a uint16_t
Definition at line 25 of file formation_distance_dependent_impl.h.
|
static |
abs function
[in] | a | value (must not be INT_MIN ) |
Definition at line 59 of file formation_distance_dependent_impl.h.
|
inlinestatic |
Formation rule for synaptogenesis; picks what neuron in the current population will have a synapse added, and then performs the addition.
[in] | current_state | Pointer to current state |
[in] | params | Pointer to rewiring data |
[in] | time | Time of formation |
[in] | row | The row to form within |
Definition at line 71 of file formation_distance_dependent_impl.h.