00001 #ifndef _INPUTNEURON_H 00002 #define _INPUTNEURON_H 00003 00004 #include "Neuron.h" 00005 00006 namespace annie 00007 { 00013 class InputNeuron : public Neuron 00014 { 00015 private: 00017 void _recacheOutput() const; 00018 00020 void _recacheError() const; 00021 public: 00025 InputNeuron(int label); 00026 00027 00032 void setValue(real value); 00033 00038 virtual operator std::string() const; 00039 00043 virtual const char *getClassName() const; 00044 }; 00045 00046 }; //namespace annie 00047 #endif // define _INPUTNEURON_H 00048