00001 /* searchMonitor.h 00002 */ 00003 #ifndef OSL_SEARCHMONITOR_H 00004 #define OSL_SEARCHMONITOR_H 00005 #include "osl/move.h" 00006 #include "osl/misc/cstdint.h" 00007 namespace osl 00008 { 00009 namespace search 00010 { 00011 class SearchMonitor 00012 { 00013 public: 00014 virtual ~SearchMonitor(); 00015 00016 virtual void newDepth(int depth); 00017 virtual void showPV(int depth, size_t node_count, double elapsed, int value, Move cur, const Move *first, const Move *last, 00018 const bool *threatmate_first, const bool *threatmate_last); 00019 virtual void rootMove(Move cur); 00020 virtual void rootFirstMove(Move cur); 00021 virtual void timeInfo(size_t node_count, double elapsed); 00022 virtual void hashInfo(double ratio); 00023 virtual void rootForcedMove(Move the_move); 00024 virtual void rootLossByCheckmate(); 00025 virtual void depthFinishedNormally(int depth); 00026 }; 00027 } 00028 using search::SearchMonitor; 00029 } 00030 00031 #endif /* OSL_SEARCHMONITOR_H */ 00032 // ;;; Local Variables: 00033 // ;;; mode:c++ 00034 // ;;; c-basic-offset:2 00035 // ;;; End: