Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SimpleNeuron.h

Go to the documentation of this file.
00001 #ifndef _SIMPLENEURON_H
00002 #define _SIMPLENEURON_H
00003 
00004 #include "AbstractNeuron.h"
00005 #include "defines.h"
00006 
00007 namespace annie
00008 {
00009 
00015 class SimpleNeuron : public AbstractNeuron
00016 {
00017 protected:
00019     ActivationFunction _dActivationFunction;
00020 
00022     virtual void _recacheOutput() const;
00023 
00025     virtual void _recacheError() const;
00026 
00027 public:
00033     SimpleNeuron(int label, bool hasBias = true);
00034 
00042     virtual void setDesiredOutput(real desired);
00043 
00048     virtual void setActivationFunction(ActivationFunction f, ActivationFunction df);
00049 
00051     virtual const char *getClassName() const;
00052 };
00053 
00054 }; //namespace annie
00055 #endif // define _SIMPLENEURON_H
00056 

Generated on Fri Jun 18 13:18:11 2004 for Annie by doxygen 1.3.5