Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound 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(int inputs, int hidden, int 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 Wed Apr 23 10:42:34 2003 for BioFilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002