X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=a2a02edac3ed2c63217808aee07c23b459a4abab;hp=94b59d2bfac712be92d3559cf44e02912d55fd12;hb=b24bd762b2aff6cac30e1ae673775ea6f6aa8d11;hpb=25296547d0258f8519b7614e4474bbc947eaea04 diff --git a/src/search.h b/src/search.h index 94b59d2b..a2a02eda 100644 --- a/src/search.h +++ b/src/search.h @@ -21,7 +21,6 @@ #ifndef SEARCH_H_INCLUDED #define SEARCH_H_INCLUDED -#include #include #include "misc.h" @@ -38,13 +37,13 @@ namespace Search { struct Stack { Move* pv; - CounterMoveStats* counterMoves; + PieceToHistory* history; int ply; Move currentMove; Move excludedMove; Move killers[2]; Value staticEval; - int history; + int statScore; int moveCount; }; @@ -65,6 +64,7 @@ struct RootMove { Value score = -VALUE_INFINITE; Value previousScore = -VALUE_INFINITE; + int selDepth = 0; std::vector pv; }; @@ -92,15 +92,6 @@ struct LimitsType { TimePoint startTime; }; - -/// SignalsType struct stores atomic flags updated during the search, typically -/// in an async fashion e.g. to stop the search by the GUI. - -struct SignalsType { - std::atomic_bool stop, stopOnPonderhit; -}; - -extern SignalsType Signals; extern LimitsType Limits; void init();