00001 #ifndef _INPUTLAYER_H 00002 #define _INPUTLAYER_H 00003 00004 #include "Layer.h" 00005 #include "InputNeuron.h" 00006 00007 namespace annie 00008 { 00009 00011 class InputLayer : public TLayer<InputNeuron> 00012 { 00013 public: 00019 InputLayer(int label, int size=0); 00020 virtual ~InputLayer(); 00021 00023 virtual void setInput(const Vector &input); 00024 00026 virtual void setInput(const real *input); 00027 00032 virtual void addNeuron(Neuron *nrn); 00033 00035 virtual const char *getClassName(); 00036 }; 00037 }; //namespace annie 00038 #endif // define _INPUTLAYER_H 00039