#include <GenericDAModulatedSTDPSynapse.h>
Public Member Functions | |
GenericDAModulatedSTDPSynapse () | |
virtual | ~GenericDAModulatedSTDPSynapse () |
virtual int | reset (double dt) |
virtual void | deepCopy (const SimObject *obj) |
virtual int | advance (AdvanceInfo const &ai) |
virtual double | stdpLearning (const double &delta, const double &t_post, const double &t_pre, const double &t_prev_post, const double &t_prev_pre) |
virtual int | spikeHit (spikeport_t port, SpikeEvent const &spike) |
FiniteSpikeResponse * | getTraceResponse () |
Public Attributes | |
double | DATrace |
Dopamine eligibility trace (implemented by Izhikevich rule) [units=none; range=(-1e5,1e5);]. | |
double | DAStdpRate |
Rate of weight update based on dopamine concentration. [units=none; range=(0,1); ]. | |
double | DATraceDelay |
Delay of the eligibility trace activation [units=sec; range=(0,1e3)]. | |
bool | activeDASTDP |
Determines whether learning is active or not. | |
Protected Attributes | |
DopamineReceiver * | dopamine_receiver |
double | dw |
queue< double > | trace_starts |
queue< double > | trace_weights |
FiniteSpikeResponse * | da_trace_response |
References: Solving the Distal Reward Problem through Linkage of STDP and Dopamine Signaling. Izhikevich E.M. (2007), Cerebral Cortex, 10.1093/cercor/bhl152
Definition at line 28 of file GenericDAModulatedSTDPSynapse.h.
GenericDAModulatedSTDPSynapse< BaseSyn >::GenericDAModulatedSTDPSynapse | ( | ) | [inline] |
Definition at line 32 of file GenericDAModulatedSTDPSynapse.h.
virtual GenericDAModulatedSTDPSynapse< BaseSyn >::~GenericDAModulatedSTDPSynapse | ( | ) | [inline, virtual] |
Definition at line 37 of file GenericDAModulatedSTDPSynapse.h.
virtual int GenericDAModulatedSTDPSynapse< BaseSyn >::reset | ( | double | dt | ) | [inline, virtual] |
Definition at line 55 of file GenericDAModulatedSTDPSynapse.h.
virtual void GenericDAModulatedSTDPSynapse< BaseSyn >::deepCopy | ( | const SimObject * | obj | ) | [inline, virtual] |
Definition at line 68 of file GenericDAModulatedSTDPSynapse.h.
int GenericDAModulatedSTDPSynapse< BaseSyn >::advance | ( | AdvanceInfo const & | ai | ) | [inline, virtual] |
Definition at line 96 of file GenericDAModulatedSTDPSynapse.h.
References GenericDAModulatedSTDPSynapse< BaseSyn >::activeDASTDP, SimObject::advance(), ADVANCEFLAG_DEACTIVATE, DopamineReceiver::DA_concentration, GenericDAModulatedSTDPSynapse< BaseSyn >::da_trace_response, GenericDAModulatedSTDPSynapse< BaseSyn >::DAStdpRate, GenericDAModulatedSTDPSynapse< BaseSyn >::DATrace, GenericDAModulatedSTDPSynapse< BaseSyn >::dopamine_receiver, AdvanceInfo::dt, Time::in_sec(), FiniteSpikeResponse::isActive(), FiniteSpikeResponse::psr, SimObject::spikeHit(), AdvanceInfo::t, GenericDAModulatedSTDPSynapse< BaseSyn >::trace_starts, and GenericDAModulatedSTDPSynapse< BaseSyn >::trace_weights.
double GenericDAModulatedSTDPSynapse< BaseSyn >::stdpLearning | ( | const double & | delta, | |
const double & | t_post, | |||
const double & | t_pre, | |||
const double & | t_prev_post, | |||
const double & | t_prev_pre | |||
) | [inline, virtual] |
Definition at line 159 of file GenericDAModulatedSTDPSynapse.h.
References GenericDAModulatedSTDPSynapse< BaseSyn >::dw.
int GenericDAModulatedSTDPSynapse< BaseSyn >::spikeHit | ( | spikeport_t | port, | |
SpikeEvent const & | spike | |||
) | [inline, virtual] |
Definition at line 135 of file GenericDAModulatedSTDPSynapse.h.
References GenericDAModulatedSTDPSynapse< BaseSyn >::da_trace_response, GenericDAModulatedSTDPSynapse< BaseSyn >::DATraceDelay, GenericDAModulatedSTDPSynapse< BaseSyn >::dw, FiniteSpikeResponse::isActive(), SPIKEHITFLAG_ACTIVATE, SpikeEvent::time(), GenericDAModulatedSTDPSynapse< BaseSyn >::trace_starts, and GenericDAModulatedSTDPSynapse< BaseSyn >::trace_weights.
FiniteSpikeResponse* GenericDAModulatedSTDPSynapse< BaseSyn >::getTraceResponse | ( | ) | [inline] |
Definition at line 79 of file GenericDAModulatedSTDPSynapse.h.
double GenericDAModulatedSTDPSynapse< BaseSyn >::DATrace |
Dopamine eligibility trace (implemented by Izhikevich rule) [units=none; range=(-1e5,1e5);].
Definition at line 41 of file GenericDAModulatedSTDPSynapse.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance(), and GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::reset().
double GenericDAModulatedSTDPSynapse< BaseSyn >::DAStdpRate |
Rate of weight update based on dopamine concentration. [units=none; range=(0,1); ].
Definition at line 47 of file GenericDAModulatedSTDPSynapse.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance().
double GenericDAModulatedSTDPSynapse< BaseSyn >::DATraceDelay |
Delay of the eligibility trace activation [units=sec; range=(0,1e3)].
Definition at line 50 of file GenericDAModulatedSTDPSynapse.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::spikeHit().
bool GenericDAModulatedSTDPSynapse< BaseSyn >::activeDASTDP |
Determines whether learning is active or not.
Definition at line 53 of file GenericDAModulatedSTDPSynapse.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance().
DopamineReceiver* GenericDAModulatedSTDPSynapse< BaseSyn >::dopamine_receiver [protected] |
Definition at line 81 of file GenericDAModulatedSTDPSynapse.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance(), and GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::reset().
double GenericDAModulatedSTDPSynapse< BaseSyn >::dw [protected] |
Definition at line 86 of file GenericDAModulatedSTDPSynapse.h.
Referenced by GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::reset(), GenericDAModulatedSTDPSynapse< BaseSyn >::spikeHit(), and GenericDAModulatedSTDPSynapse< BaseSyn >::stdpLearning().
queue<double> GenericDAModulatedSTDPSynapse< BaseSyn >::trace_starts [protected] |
Definition at line 88 of file GenericDAModulatedSTDPSynapse.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance(), GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::reset(), and GenericDAModulatedSTDPSynapse< BaseSyn >::spikeHit().
queue<double> GenericDAModulatedSTDPSynapse< BaseSyn >::trace_weights [protected] |
Definition at line 89 of file GenericDAModulatedSTDPSynapse.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance(), GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::reset(), and GenericDAModulatedSTDPSynapse< BaseSyn >::spikeHit().
FiniteSpikeResponse* GenericDAModulatedSTDPSynapse< BaseSyn >::da_trace_response [protected] |
Definition at line 91 of file GenericDAModulatedSTDPSynapse.h.
Referenced by GenericDAModulatedSTDPSynapse< BaseSyn >::advance(), GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::deepCopy(), GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::GenericDAModulatedSTDPSynapse(), GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::getTraceResponse(), GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::reset(), GenericDAModulatedSTDPSynapse< BaseSyn >::spikeHit(), and GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >::~GenericDAModulatedSTDPSynapse().