CSIM: stdpsynapse.h Source File

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 
00031 class StdpSynapse : public SpikingSynapse {
00032  public:
00033 
00035   StdpSynapse(void);
00036 
00037   // Called if the postsynaptic neuron emmits a spike
00038   // virtual void preSpikeNotify(int iNewSpike);
00039 
00041   virtual int preSpikeHit(void);
00042 
00044   virtual int postSpikeHit(void);
00045 
00047   virtual int addIncoming(Advancable *a);
00048 
00050   virtual int addOutgoing(Advancable *a);
00051 
00053   virtual void stdpLearning(double delta, double epost, double epre);
00054 
00056   virtual void stdpChangePSR(void){};
00057 
00059   // float Tmax;
00060 
00062   // float Tmin;
00063 
00065   float back_delay;
00066 
00068   float tauspost;
00070   float tauspre;
00071 
00073   float taupos;
00075   float tauneg;
00076 
00077   float dw;
00079   float STDPgap;
00081   int activeSTDP;
00083   int useFroemkeDanSTDP;
00084 
00086   float Wex;
00087 
00089   float Aneg;
00091   float Apos;
00092   
00094   float mupos;
00096   float muneg;
00097 
00098 };
00099 
00100 #endif

 
(C) 2003, Thomas Natschläger last modified 07/10/2006