Cinnamon  1.0
chess engine
IterativeDeeping.h
Go to the documentation of this file.
00001 #ifndef ITERATIVEDEEPING_H_
00002 #define ITERATIVEDEEPING_H_
00003 
00004 #include "Search.h"
00005 #include "Thread.h"
00006 #include "OpenBook.h"
00007 #include "Mutex.h"
00008 
00009 class IterativeDeeping: public Thread , public Search {
00010 public:
00011     IterativeDeeping();
00012     virtual ~IterativeDeeping();
00013     virtual void run();
00014     bool getPonderEnabled();
00015     void setUseBook(bool);
00016     bool getUseBook();
00017     void lockMutex(bool);
00018     void clearMovesPath();
00019     void enablePonder(bool);
00020     void setFollowBook(bool b);
00021 private:
00022     static const int valWINDOW = 50;
00023     bool useBook;
00024     Mutex* mutex1;
00025     bool followBook;
00026     OpenBook* openBook;
00027     bool ponderEnabled;
00028 };
00029 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines