10 #ifndef _STDP_SYN_HANDLER_H
11 #define _STDP_SYN_HANDLER_H
79 void addSpike(
unsigned int index,
double time,
double weight );
118 #endif // _STDP_SYN_HANDLER_H
unsigned int vGetNumSynapses() const
STDPSynapse * vGetSynapse(unsigned int i)
priority_queue< PostSynEvent, vector< PostSynEvent >, ComparePostSynEvent > postEvents_
void vReinit(const Eref &e, ProcPtr p)
void setWeightMin(double v)
double getWeightMin() const
double getTauPlus() const
void setTauMinus(double v)
void vProcess(const Eref &e, ProcPtr p)
double getTopSpike(unsigned int index) const
void addSpike(unsigned int index, double time, double weight)
void dropSynapse(unsigned int droppedSynNumber)
void setTauPlus(double v)
vector< STDPSynapse > synapses_
void setAMinus0(double v)
void setWeightMax(double v)
double getTauMinus() const
priority_queue< PreSynEvent, vector< PreSynEvent >, CompareSynEvent > events_
void vSetNumSynapses(unsigned int num)
double getAMinus0() const
unsigned int addSynapse()
Adds a new synapse, returns its index.
static const Cinfo * initCinfo()
STDPSynHandler & operator=(const STDPSynHandler &other)
double getWeightMax() const
void addPostSpike(const Eref &e, double time)