Adjust initiative in pure pawn endgames
authorJerry Donald Watson <j1.donald1@gmail.com>
Mon, 12 Mar 2018 09:09:02 +0000 (09:09 +0000)
committerStéphane Nicolet <cassio@free.fr>
Mon, 12 Mar 2018 21:57:21 +0000 (22:57 +0100)
commit840605c14e30c58806690ca9b87a44108fa37913
treedee90413919d990d1c0772e909589aaef80a9212
parent6e9337b10799a65f15db141ff612537185396ea5
Adjust initiative in pure pawn endgames

King and pawn endgames are typically decisive, and a small
advantage is often sufficient to win. Therefore we now take
this into account when computing the initiative adjustment.

This idea came from a series of patches by Gian-Carlo Pascutto.

STC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 48770 W: 10203 L: 9845 D: 28722
http://tests.stockfishchess.org/tests/view/5aa58cce0ebc59029780ff8d

LTC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 22252 W: 3572 L: 3366 D: 15314
http://tests.stockfishchess.org/tests/view/5aa5b27c0ebc59029780ffad

Ideas for future developement:

- There have been a number of changes to the initiative
  calculation lately. Perhaps the coefficients could be
  tuned again.

- It may be possible to add special knowledge for other
  endgames in the initiative calculation.

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

Bench: 5750110
src/evaluate.cpp