CSIM: dynamicspikingsynapse.h Source File

dynamicspikingsynapse.h

Go to the documentation of this file.
00001 
00005 #ifndef _DYNAMICSPIKINGSYNAPSE_H_
00006 #define _DYNAMICSPIKINGSYNAPSE_H_
00007 
00008 #include <math.h>
00009 #include "spikingsynapse.h"
00010 #include "spikingneuron.h"
00011 
00013 
00018 class DynamicSpikingSynapse : public SpikingSynapse  {
00019   
00020   DO_REGISTERING
00021 
00022 public:
00023  
00024 #include "dynamicsynapse.h"
00025  
00026 public:
00027   DynamicSpikingSynapse(void);
00028   ~DynamicSpikingSynapse(void);
00029   
00030   virtual void reset(void);
00031   
00032   virtual int preSpikeHit(void) {
00033     // Change the PSR (defined in dynamicsynapse.h)
00034     DYNAMIC_PSR_CHANGE;
00035 
00036     // Check for activation(defined in spikingsynapse.h)
00037     NEED_TO_ACTIVATE;
00038   };
00039   
00040 };
00041 
00042 #endif

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