]> git.sesse.net Git - stockfish/commit
Space bonus in presence of open files
authorStéphane Nicolet <cassio@free.fr>
Fri, 2 Sep 2016 22:04:20 +0000 (00:04 +0200)
committerStéphane Nicolet <cassio@free.fr>
Fri, 2 Sep 2016 22:04:20 +0000 (00:04 +0200)
commitd37dfe9ae41de722eccd50aee39fb5eb59811bc2
treead930083d28431a0107324072bff478cb57d3022
parent13b4444d9e3a3ac5a71f256145904d13754f9e7f
Space bonus in presence of open files

If the opponent has a cramped position, opening a file often
helps him/her to exchange pieces, so it makes sense to reduce
the space bonus if there are open files.

Credits: Leonardo Ljubičić for the strategic idea, Alain Savard for the
implementation of the open files calculation, "CrunchyNYC" for the
compensation of the numerator.

STC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 49112 W: 9239 L: 8900 D: 30973

LTC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 89415 W: 12014 L: 11601 D: 65800

Bench: 7591630
src/evaluate.cpp
src/pawns.cpp
src/pawns.h