]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Introduce Cut/All node definitions
[stockfish] / src / thread.h
index fbd3b7f4af2e58509ae1530ab6ad6efe8bbbbb76..46c40d9bfdab92e3fe3d655f4d50e03629511c3a 100644 (file)
@@ -68,6 +68,7 @@ struct SplitPoint {
   Value beta;
   int nodeType;
   Move threatMove;
+  bool cutNode;
 
   // Const pointers to shared data
   MovePicker* movePicker;
@@ -103,7 +104,7 @@ struct Thread {
 
   template <bool Fake>
   void split(Position& pos, Search::Stack* ss, Value alpha, Value beta, Value* bestValue, Move* bestMove,
-             Depth depth, Move threatMove, int moveCount, MovePicker* movePicker, int nodeType);
+             Depth depth, Move threatMove, int moveCount, MovePicker* movePicker, int nodeType, bool cutNode);
 
   SplitPoint splitPoints[MAX_SPLITPOINTS_PER_THREAD];
   Material::Table materialTable;