]> git.sesse.net Git - stockfish/commit
Simplify pawnless endgame evaluation
authorChris Cain <chricainogithub@gmail.com>
Thu, 16 Jan 2014 21:50:08 +0000 (21:50 +0000)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 18 Jan 2014 16:22:54 +0000 (17:22 +0100)
commitdf201175c6a0704800b1578e338c6e2a202234fe
treeb98ea60b5042a27efa6bf8125e97152af21c2f0c
parent53ab32ef0b6e47d8d962f8c1fccd32d3c22f138c
Simplify pawnless endgame evaluation

Retire KmmKm evaluation function. Instead give a very drawish
scale factor when the material advantage is small and not much
material remains.

Retire NoPawnsSF array. Pawnless endgames without a bishop will
now be scored higher. Pawnless endgames with a bishop pair will
be scored lower. The effect of this is hopefully small.

Consistent results both at short TC (fixed games):
ELO: -0.00 +-2.1 (95%) LOS: 50.0%
Total: 40000 W: 7405 L: 7405 D: 25190

And long TC (fixed games):
ELO: 0.77 +-1.9 (95%) LOS: 78.7%
Total: 39690 W: 6179 L: 6091 D: 27420

bench: 7213723
src/endgame.cpp
src/endgame.h
src/material.cpp