]> git.sesse.net Git - stockfish/commit
Replace distanceFromPv with a better logic
authorVizvezdenec <Vizvezdenec@gmail.com>
Tue, 6 Apr 2021 13:51:05 +0000 (16:51 +0300)
committerStéphane Nicolet <cassio@free.fr>
Tue, 6 Apr 2021 16:23:35 +0000 (18:23 +0200)
commit3dfda1b28e14d1f3c2422fed5f203e305f58af28
tree878d6b077ae51b332f4d760da09d3d60b7fecb86
parentf40913f7f699d9d875e44929608b45947421ad03
Replace distanceFromPv with a better logic

This patch removes the recently introduced distanceFromPv logic, and replaces
it with following logic: if reduction of moves with low movecount is really
negative, we search them deeper than the first move.

passed STC:
LLR: 2.95 (-2.94,2.94) {-0.20,1.10}
Total: 153008 W: 13913 L: 13579 D: 125516
Ptnml(0-2): 547, 10811, 53470, 11113, 563
https://tests.stockfishchess.org/tests/view/6069c9d02b2df919fd5f04d2

passed LTC:
LLR: 2.94 (-2.94,2.94) {0.20,0.90}
Total: 101920 W: 3964 L: 3699 D: 94257
Ptnml(0-2): 55, 3279, 44019, 3560, 47
https://tests.stockfishchess.org/tests/view/606a99fd2b2df919fd5f0532

Closes https://github.com/official-stockfish/Stockfish/pull/3421

Bench: 4191632
src/search.cpp
src/search.h