]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Simplify multi-cut condition
[stockfish] / src / thread.h
index 5785fd25eb7ab28eaa972c32fe9b51fb80a7758b..2475d2ec2545101bfbb887c475e89747f5ceab6f 100644 (file)
@@ -60,10 +60,14 @@ public:
   Pawns::Table pawnsTable;
   Material::Table materialTable;
   size_t pvIdx, pvLast;
-  uint64_t ttHitAverage;
+  RunningAverage ttHitAverage;
+  RunningAverage doubleExtensionAverage[COLOR_NB];
+  uint64_t nodesLastExplosive;
+  uint64_t nodesLastNormal;
+  std::atomic<uint64_t> nodes, tbHits, bestMoveChanges;
   int selDepth, nmpMinPly;
   Color nmpColor;
-  std::atomic<uint64_t> nodes, tbHits, bestMoveChanges;
+  ExplosionState state;
 
   Position rootPos;
   StateInfo rootState;
@@ -74,8 +78,7 @@ public:
   LowPlyHistory lowPlyHistory;
   CapturePieceToHistory captureHistory;
   ContinuationHistory continuationHistory[2][2];
-  Score contempt;
-  int failedHighCnt;
+  Score trend;
 };