#include <dneuron.h>
Inheritance diagram for punnets_private::tsynapse< debug >:

Public Methods | |
| tsynapse (tneuron_base &isrc, tneuron_base &idest, ntime_t idelay, real iweight) | |
| Construct a synapse with the specified source, destination, delay and weight. | |
| tsynapse (tneuron_base &idest, ntime_t idelay, real iweight) | |
| virtual void | setSrc (tneuron_base &isrc) |
| Specify the source neuron. | |
| virtual real | getWeight () const |
| Get the weight value of this synapse. | |
| virtual tneuron_base & | getSrc () const |
| Get the source neuron (pre-synaptic). | |
| virtual tneuron_base & | getDest () const |
| Get the destination neuron (post-synaptic). | |
| void | addWeight (real delta_w) |
| Modify the weight value with the specified step size. | |
| void | addDelay (ntime_t delta_d) |
| Modify the delay with the specified step size. | |
| virtual void | activate (tscheduler &scheduler, ntime_t current_time) |
| The event handler delivers a pulse to the destination (post-synaptic) neuron. | |
| virtual tqueue * | queue () const |
| Obtains the pointer to the queue object of this event. | |
Definition at line 265 of file dneuron.h.
|
||||||||||||||||||||
|
Construct a synapse with the specified destination, delay and weight. Source neuron will be specified after the construction via setSrc() method. Definition at line 278 of file dneuron.h. References punnets_common::ntime_t, and punnets_common::real.
00279 : tsynapse_base(idelay), src(NULL), dest(&idest), weight(iweight) { } |
1.2.18