CSIM: staticspikingsynapse.h Source File

staticspikingsynapse.h

Go to the documentation of this file.
00001 
00005 #ifndef _STATICSPIKINGSYNAPSE_H_
00006 #define _STATICSPIKINGSYNAPSE_H_
00007 
00008 #include "globaldefinitions.h"
00009 #include "spikingsynapse.h"
00010 
00012 
00018 class StaticSpikingSynapse : public SpikingSynapse {
00019 
00020   DO_REGISTERING 
00021 
00022   virtual int preSpikeHit(void) {
00023 
00024     // increase the response
00025     psr += (W/decay);
00026 
00027     // Check for activation(defined in spikingsynapse.h)
00028     NEED_TO_ACTIVATE
00029 
00030    }
00031   
00032 };
00033 
00034 #endif

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