00001 #ifndef EVLIFNEURON_H_
00002 #define EVLIFNEURON_H_
00003
00004 #include "LifNeuron.h"
00005
00006 class EvLifNeuron : public LifNeuron
00007 {
00008 SIMOBJECT( EvLifNeuron, AdvancePhase::SpikeDriven )
00009 public:
00010 EvLifNeuron( float Rm = 1e6,
00011 float Cm = 3e-8,
00012 float Vresting =-0.06,
00013 float Vthresh =-0.045,
00014 float Vreset =-0.06,
00015 float Vinit =-0.06,
00016 float Trefract = 3e-3,
00017 float Inoise = 0.0,
00018 float Iinject = 0.0 ) :
00019 LifNeuron( Rm, Cm, Vresting, Vthresh, Vreset, Vinit, Trefract, Inoise, Iinject )
00020 {
00021
00022 }
00023
00024 virtual ~EvLifNeuron();
00025
00027 virtual int advance(AdvanceInfo const &ai);
00028
00029 virtual void currentInput( double Isyn );
00030
00031 protected:
00032 bool remainActive;
00033 };
00034
00035 #endif