Main Page | Namespace List | Data Structures | File List | Data Fields | Globals

learningThread.h

Go to the documentation of this file.
00001 # ifndef LEARNINGTHREAD_H
00002 # define LEARNINGTHREAD_H
00003 
00004 # include <network.h>
00005 # include <qthread.h>
00006 
00007 # define PAUSE 1
00008 # define PLAY 2
00009 # define STEP 3
00010 
00011 extern Network * network;
00012 
00013 class LearningThread : public QThread {
00014 private:
00015         QString filename;
00016         double errorThreshold;
00017         int maxNbEpoch;
00018         double convergenceCoeff;
00019         int state;
00020 
00021 public:
00022         void init(QString f, double eT, int maxNE, double convCoeff);
00023         int getState();
00024         void setState(int s);
00025         void uwait(unsigned long t);
00026         virtual void run();
00027         void nextStep();
00028 };
00029 
00030 # endif

Generated on Fri Dec 3 14:57:50 2004 for INN by doxygen 1.3.6