#include <synapses.h>
Data Fields | |
aspi_class_t | parent |
aspi_object_t *(* | init )(aspi_object_t *self, int n_neurons, double trace_leak) |
double(* | get_weight )(aspi_object_t *self, int pre, int post) |
void(* | set_weight )(aspi_object_t *self, int pre, int post, double weight) |
int(* | get_delay )(aspi_object_t *self, int pre, int post) |
void(* | set_delay )(aspi_object_t *self, int pre, int post, int delay) |
double(* | get_trace )(aspi_object_t *self, int pre, int post, int time) |
void(* | add_to_trace )(aspi_object_t *self, int pre, int post, double value, int time) |
void(* | apply_callback )(aspi_object_t *self, aspi_object_t *network, aspi_callback_t callback, void *data) |
void(* | apply_callback_post )(aspi_object_t *self, aspi_object_t *network, int neuron, aspi_callback_t callback, void *data) |
void(* | apply_callback_pre )(aspi_object_t *self, aspi_object_t *network, int neuron, aspi_callback_t callback, void *data) |
Since this structure contains all virtual methods that must be implemented by the classes, it is a bit a long list.
aspi_object_t*(* init)(aspi_object_t *self, int n_neurons, double trace_leak) |
Referenced by aspi_synapses(), and aspi_synapses_init_generic().
double(* get_weight)(aspi_object_t *self, int pre, int post) |
Referenced by aspi_synapses().
void(* set_weight)(aspi_object_t *self, int pre, int post, double weight) |
Referenced by aspi_synapses().
int(* get_delay)(aspi_object_t *self, int pre, int post) |
Referenced by aspi_synapses().
void(* set_delay)(aspi_object_t *self, int pre, int post, int delay) |
Referenced by aspi_synapses().
double(* get_trace)(aspi_object_t *self, int pre, int post, int time) |
Referenced by aspi_synapses().
void(* add_to_trace)(aspi_object_t *self, int pre, int post, double value, int time) |
Referenced by aspi_synapses().
void(* apply_callback)(aspi_object_t *self, aspi_object_t *network, aspi_callback_t callback, void *data) |
Referenced by aspi_synapses().
void(* apply_callback_post)(aspi_object_t *self, aspi_object_t *network, int neuron, aspi_callback_t callback, void *data) |
Referenced by aspi_synapses().
void(* apply_callback_pre)(aspi_object_t *self, aspi_object_t *network, int neuron, aspi_callback_t callback, void *data) |
Referenced by aspi_synapses().