]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Use Color-From-To history stats to help sort moves
[stockfish] / src / thread.h
index 0b112de9b0f14540d414c506f61998053ad0c72e..8181163ec1b7516dec0c184f193de130920ea3f3 100644 (file)
@@ -68,6 +68,7 @@ public:
   Depth rootDepth;
   HistoryStats history;
   MoveStats counterMoves;
+  FromToStats fromTo;
   Depth completedDepth;
   std::atomic_bool resetCalls;
 };
@@ -94,7 +95,7 @@ struct ThreadPool : public std::vector<Thread*> {
   void exit(); // be initialized and valid during the whole thread lifetime.
 
   MainThread* main() { return static_cast<MainThread*>(at(0)); }
-  void start_thinking(const Position&, StateListPtr&, const Search::LimitsType&);
+  void start_thinking(Position&, StateListPtr&, const Search::LimitsType&);
   void read_uci_options();
   int64_t nodes_searched();