X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.h;h=8d0adcf0340460373073516fac7f5d0f37196ecd;hb=b25d68f6ee2d016cc0c14b076e79e6c44fdaea2a;hp=d6a48eca73d14937f19212d462d9a120398d21d0;hpb=38a80c0b47397dbdd9167ec1476dfd3c033020d6;p=stockfish diff --git a/src/thread.h b/src/thread.h index d6a48eca..8d0adcf0 100644 --- a/src/thread.h +++ b/src/thread.h @@ -21,16 +21,16 @@ #include #include +#include +#include #include -#include #include -#include "material.h" #include "movepick.h" -#include "pawns.h" #include "position.h" #include "search.h" #include "thread_win32_osx.h" +#include "types.h" namespace Stockfish { @@ -57,12 +57,9 @@ public: void wait_for_search_finished(); size_t id() const { return idx; } - Pawns::Table pawnsTable; - Material::Table materialTable; size_t pvIdx, pvLast; std::atomic nodes, tbHits, bestMoveChanges; int selDepth, nmpMinPly; - Color nmpColor; Value bestValue, optimism[COLOR_NB]; Position rootPos; @@ -70,6 +67,7 @@ public: Search::RootMoves rootMoves; Depth rootDepth, completedDepth; Value rootDelta; + Value rootSimpleEval; CounterMoveHistory counterMoves; ButterflyHistory mainHistory; CapturePieceToHistory captureHistory; @@ -86,7 +84,6 @@ struct MainThread : public Thread { void search() override; void check_time(); - double complexity; double previousTimeReduction; Value bestPreviousScore; Value bestPreviousAverageScore;