Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

stdpsynapse.h

Go to the documentation of this file.
00001 
00005 #ifndef _STDPSYNAPSE_H_
00006 #define _STDPSYNAPSE_H_
00007 
00008 #include "spikingsynapse.h"
00009 #include "needspostspikesynapse.h"
00010 
00012 class StdpSynapse : public SpikingSynapse {
00013  public:
00014 
00016   StdpSynapse(void);
00017 
00018   // Called if the postsynaptic neuron emmits a spike
00019   // virtual void preSpikeNotify(int iNewSpike);
00020 
00022   virtual int preSpikeHit(void);
00023 
00025   virtual int postSpikeHit(void);
00026 
00028   virtual int addIncoming(Advancable *a);
00029 
00031   virtual int addOutgoing(Advancable *a);
00032 
00034   virtual void stdpLearning(double delta, double epost, double epre);
00035 
00037   virtual void stdpChangePSR(void){};
00038 
00040   // float Tmax;
00041 
00043   // float Tmin;
00044 
00045   float back_delay;
00046 
00047   float tauspost;
00048   float tauspre;
00049 
00050   float taupos;
00051   float tauneg;
00052 
00053   float dw;
00054 
00055   float STDPgap;
00056   int activeSTDP;
00057 
00059   float Wex;
00060 
00061   float Aneg;
00062   float Apos;
00063   
00064   float mupos;
00065   float muneg;
00066 
00067 };
00068 
00069 #endif