|
|||||||||||
Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
lifneuron.hGo to the documentation of this file.00001 00005 #ifndef _LIFNEURON_H_ 00006 #define _LIFNEURON_H_ 00007 00008 #include "spikingneuron.h" 00009 #include "internalvoltageneuron.h" 00010 00012 00039 class LifNeuron : public SpikingNeuron, public InternalVoltageNeuron { 00040 00041 DO_REGISTERING 00042 00043 public: 00044 00045 LifNeuron(void); 00046 virtual ~LifNeuron(); 00047 00049 virtual int updateInternal(void); 00050 00052 virtual void reset(void); 00053 00055 virtual double nextstate(void); 00056 00058 virtual int isRefractory(void); 00059 00061 virtual float getVm(void) {return Vm;}; 00062 00064 float Cm; 00065 00067 float Rm; 00068 00070 float Vthresh; 00071 00073 float Vresting; 00074 00076 float Vreset; 00077 00079 float Vinit; 00080 00082 float Trefract; 00083 00085 float Inoise; 00086 00088 float Iinject; 00089 00090 protected: 00091 00093 float Isyn; 00094 00095 // protected: 00096 // The total current: noise + inject + 00097 //double Itot; 00098 //int nStepsInRefr; 00099 00100 private: 00102 int nStepsInRefr; 00103 00105 double C1,C2,I0; 00106 00107 }; 00108 00109 #endif | |||||||||||
(C) 2003, Thomas Natschläger | last modified 07/10/2006 |