21 #ifndef _PARTNER_SELECTION_H_
22 #define _PARTNER_SELECTION_H_
29 #include <stdfix-full-iso.h>
34 #define INVALID_SELECTION ((spike_t) - 1)
58 uint32_t
time, uint32_t *restrict population_id,
59 uint32_t *restrict sub_population_id,
60 uint32_t *restrict neuron_id,
spike_t *restrict spike,
61 uint32_t *restrict m_pop_index);
static uint32_t time
Simulation time.
uint32_t spike_t
The type of a spike.
void partner_init(uint8_t **data)
Initialise the partner selection rule.
static void partner_spike_received(uint32_t time, spike_t spike)
Notifies the rule that a spike has been received.
static bool potential_presynaptic_partner(uint32_t time, uint32_t *restrict population_id, uint32_t *restrict sub_population_id, uint32_t *restrict neuron_id, spike_t *restrict spike, uint32_t *restrict m_pop_index)
Choose the potential (remote) synaptic partner.
Miscellaneous structures.