From 8fadbcf1b2c3bc281b2d1efd7992fc9f4c3a38be Mon Sep 17 00:00:00 2001 From: Michael Chaly Date: Mon, 30 May 2022 13:30:59 +0300 Subject: [PATCH] Add info about elo gained from some heuristics Add info about qsearch and impact of main and continuation histories. Based on these tests: https://tests.stockfishchess.org/tests/view/62946ffcb0d5a7d1b780fc7e https://tests.stockfishchess.org/tests/view/628facb71e7cd5f299669534 https://tests.stockfishchess.org/tests/view/628eade11e7cd5f299666f2e closes https://github.com/official-stockfish/Stockfish/pull/4041 No functional change. --- src/movepick.h | 2 ++ src/search.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/movepick.h b/src/movepick.h index 9a3c279b..6b3c08c7 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -86,6 +86,7 @@ enum StatsType { NoCaptures, Captures }; /// unsuccessful during the current search, and is used for reduction and move /// ordering decisions. It uses 2 tables (one for each color) indexed by /// the move's from and to squares, see www.chessprogramming.org/Butterfly_Boards +/// (~11 elo) typedef Stats ButterflyHistory; /// CounterMoveHistory stores counter moves indexed by [piece][to] of the previous @@ -101,6 +102,7 @@ typedef Stats PieceToHistory; /// ContinuationHistory is the combined history of a given pair of moves, usually /// the current one given a previous one. The nested history table is based on /// PieceToHistory instead of ButterflyBoards. +/// (~63 elo) typedef Stats ContinuationHistory; diff --git a/src/search.cpp b/src/search.cpp index 0a4b1a18..407cb701 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1396,6 +1396,7 @@ moves_loop: // When in check, search starts here // qsearch() is the quiescence search function, which is called by the main search // function with zero depth, or recursively with further decreasing depth per call. + // (~155 elo) template Value qsearch(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth) { -- 2.39.2