aspi_synapses_class_t Struct Reference
[Synapses]

Synapses class stucture. More...

#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)


Detailed Description

Synapses class stucture.

Since this structure contains all virtual methods that must be implemented by the classes, it is a bit a long list.


Field Documentation

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)

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().


The documentation for this struct was generated from the following file:

Generated on Wed Aug 19 01:16:49 2009 for aspirenn by  doxygen 1.5.5