]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Better check evasion move sorting
[stockfish] / src / thread.h
index 1397449733d8f7eebbc303ce879ff1dc7954b7ff..74d6e7617983e5e244690eec8157d4b09996d17d 100644 (file)
@@ -60,8 +60,9 @@ public:
   Pawns::Table pawnsTable;
   Material::Table materialTable;
   Endgames endgames;
-  size_t PVIdx;
-  int selDepth, nmp_ply, nmp_odd;
+  size_t pvIdx, pvLast;
+  int selDepth, nmpMinPly;
+  Color nmpColor;
   std::atomic<uint64_t> nodes, tbHits;
 
   Position rootPos;
@@ -70,7 +71,8 @@ public:
   CounterMoveHistory counterMoves;
   ButterflyHistory mainHistory;
   CapturePieceToHistory captureHistory;
-  ContinuationHistory contHistory;
+  ContinuationHistory continuationHistory;
+  Score contempt;
 };
 
 
@@ -83,7 +85,6 @@ struct MainThread : public Thread {
   void search() override;
   void check_time();
 
-  bool failedLow;
   double bestMoveChanges, previousTimeReduction;
   Value previousScore;
   int callsCnt;