]> git.sesse.net Git - stockfish/commit
Pieces protecting king
authorGuardianRM <strimr25@mail.ru>
Fri, 24 Feb 2017 05:26:59 +0000 (21:26 -0800)
committerJoona Kiiski <joona@zoox.com>
Fri, 24 Feb 2017 05:26:59 +0000 (21:26 -0800)
commit9f48e1ec15b8bec038338e2c4404a234af8c6364
treebb1685b178de96dc3111dfffec08b0c0cfe133e8
parenteefbe967c2a1ea1f1e39e5cfff1c38e451a9be2e
Pieces protecting king

Initial protective idea by Snicolet for knight, for other pieces too
Patch add penalties and bonuses for pieces, depending on the distance from the own king

STC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 21192 W: 3919 L: 3704 D: 13569

LTC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 26177 W: 3642 L: 3435 D: 19100

Bench : 6687377

Closes #1012
src/evaluate.cpp