CSIM: analogfeedbackneuron.h Source File

analogfeedbackneuron.h

Go to the documentation of this file.
00001 
00005 #ifndef _ANALOGFEEDBACKNEURON_H_
00006 #define _ANALOGFEEDBACKNEURON_H_
00007 
00008 #include "analoginputneuron.h"
00009 
00011 #define EXTERNAL_INPUT 0
00012 
00013 #define INTERNAL_FEEDBACK 1
00014 
00016 class AnalogFeedbackNeuron : public AnalogInputNeuron {
00017   
00018   DO_REGISTERING 
00019     
00020     public:
00021   AnalogFeedbackNeuron(void);
00022   ~AnalogFeedbackNeuron() {
00023   }
00024   double nextstate(void);
00025   void reset(void);
00026   
00027   virtual int addIncoming(Advancable *a);
00028   virtual int addOutgoing(Advancable *a);
00029 
00031   virtual int switchMode(int feedback_mode);
00032 
00034   int feedback;
00035 };
00036 
00037 #endif

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