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

TwoLayerNetwork.h

Go to the documentation of this file.
00001 #ifndef _TWOLAYERNETWORK_H
00002 #define _TWOLAYERNETWORK_H
00003 
00004 #include "MultiLayerNetwork.h"
00005 
00006 namespace annie
00007 {
00008 
00018 class TwoLayerNetwork : public MultiLayerNetwork
00019 {
00020 public:
00026     TwoLayerNetwork(uint inputs, uint hidden, uint outputs);
00027 
00033     TwoLayerNetwork(const char *filename);
00034 
00039     virtual void connect2in(int input, int hidden);
00040 
00046     virtual void connect2in(int input, int hidden, real weight);
00047 
00052     virtual void connect2out(int hidden, int output);
00053 
00059     virtual void connect2out(int hidden, int output, real weight);
00060 
00065     virtual void connectAll();
00066 
00071     virtual void addLayer(int size);
00072 
00074     virtual const char *getClassName();
00075 };
00076 }; //namespace annie
00077 #endif // define _TWOLAYERNETWORK_H
00078 

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