TarzaNN
TarzaNN neural network simulator
|
00001 #ifndef FEATUREPLANEPROXY_H_INCLUDED 00002 #define FEATUREPLANEPROXY_H_INCLUDED 00003 #include "FeaturePlaneAbstract.h" 00004 #include "FeaturePlane.h" 00005 #include "NodeProxy.h" 00006 #include "Network.h" 00007 00010 class FeaturePlaneProxy : public FeaturePlaneAbstract { 00011 public: 00012 00013 FeaturePlaneProxy(); 00015 FeaturePlaneProxy(Network* net, int l, QString* n, int w, int h, int angles, int speeds, int alpha, int speed, NotifyStrategyAbstract* notify); 00017 FeaturePlaneProxy( Network* net, int l, char* filename); 00018 00019 ~FeaturePlaneProxy(); 00020 00021 void run(); 00022 00023 // for proxy types 00024 static int getType(const QString & name); 00025 static QString getType(int value); 00026 FeaturePlaneInput* addFilter(Filter* f, FeaturePlaneAbstract*fp, int type, int fpOutputIndex, bool wta); 00027 00028 private: 00029 void loadInputFeaturePlane(const char *filename); 00030 void updateNN(Observer* fp, bool functional); 00031 int thissetsmeapart; 00032 bool firstTimeInvokingUpdateNN; 00033 }; 00034 #endif //FEATUREPLANEPROXY_H_INCLUDED