CSIM: synapse.h Source File

synapse.h

Go to the documentation of this file.
00001 
00005 #ifndef _SYNAPSE_H_
00006 #define _SYNAPSE_H_
00007 
00008 #include "advanceable.h"
00009 #include "neuron.h"
00010 
00011 class SynapseTarget;
00012 class Neuron;
00013 
00015 
00018 class Synapse : public Advancable {
00019  public:
00020  
00021   Synapse(void);
00022 
00024   virtual int addOutgoing(Advancable *a);
00025 
00027   virtual int addIncoming(Advancable *a);
00028 
00030   inline uint32 getPre(void)  { return pre->getId();  };
00031 
00033   inline uint32 getPost(void) { return post->getId(); };
00034 
00036   float W;
00037 
00039 
00043   float delay;
00044 
00046   double psr;
00047 
00048  protected:
00049   
00051   double *summationPoint;
00052 
00054   Advancable *pre;
00055 
00057   Advancable *post;
00058 };
00059 
00060 #endif

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