Asymmetry bonus for the attacking side
authorSt├ęphane Nicolet <cassio@free.fr>
Fri, 16 Oct 2015 04:27:52 +0000 (21:27 -0700)
committerGary Linscott <glinscott@gmail.com>
Fri, 16 Oct 2015 04:27:52 +0000 (21:27 -0700)
commit7ea5659c5fe0325f1b6ee5fec06ecd0f066e81c3
treef826a20cd54ac3fa633a703a0365e41b12360d4f
parent8fd34d7763072fc3ec7216729c1f7b7354bfa470
Asymmetry bonus for the attacking side

Use asymmetry in the position (king separation, pawn structure) to
compute an "initiative bonus" for the attacking side.

Passed STC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 14563 W: 2826 L: 2636 D: 9101

And LTC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 14363 W: 2317 L: 2141 D: 9905

Bench: 8116244

Resolves #462
src/evaluate.cpp
src/pawns.cpp
src/pawns.h