00001 00005 #ifndef _ANALOGSYNAPSE_H_ 00006 #define _ANALOGSYNAPSE_H_ 00007 00008 #include "synapse.h" 00009 00011 class AnalogSynapse : public Synapse { 00012 friend class AnalogNeuron; 00013 friend class StaticAnalogSynapse; 00014 friend class DynamicAnalogSynapse; 00015 00016 public: 00017 AnalogSynapse(void); 00018 00020 float Inoise; 00021 00023 // virtual double psc(void); 00024 virtual int getIndex(void) { return delayIndex; } 00025 virtual void setPsi(double myVal) { psi=myVal; } 00026 00027 protected: 00029 // is filled out by reset() of presyn neuron 00030 int delayIndex; 00031 00033 // this comes from preNeuron::output() 00034 double psi; 00035 00036 00037 }; 00038 00039 #endif