sPyNNaker neural_modelling  7.4.2
formation.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 The University of Manchester
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
21 #ifndef _FORMATION_H_
22 #define _FORMATION_H_
23 
25 typedef struct formation_params formation_params_t;
26 
32 formation_params_t *synaptogenesis_formation_init(uint8_t **data);
33 
42 static inline bool synaptogenesis_formation_rule(
43  current_state_t *current_state, const formation_params_t *params,
44  uint32_t time, synaptic_row_t row);
45 
46 #endif // _FORMATION_H_
static uint32_t time
Simulation time.
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 ad...
formation_params_t * synaptogenesis_formation_init(uint8_t **data)
Read and return an formation parameter data structure from the data stream.
Configuration of synapse formation rule.
struct synaptic_row * synaptic_row_t
The type of a synaptic row.
Miscellaneous structures.
struct representing the current state of rewiring
Definition: sp_structs.h:92
static stdp_params params
Configuration parameters.