Rewrite evaluation of shogi pawns
authorFabian Fichter <ianfab@users.noreply.github.com>
Thu, 7 Feb 2019 23:24:50 +0000 (00:24 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Thu, 7 Feb 2019 23:24:50 +0000 (00:24 +0100)
commit27904632b9361ef625b389d85505e765d80af138
tree704479db138f5bc691fe4b3d6df0ee62e136423a
parent9ffc78af565aafd6d75782d26385ea6a89d00782
Rewrite evaluation of shogi pawns

Handle shogi pawns similar to pawns, different from other pieces.
Speeds up evaluation and allows improving evaluation of passed shogi pawns.

shogi
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 596 W: 322 L: 259 D: 15

euroshogi
LLR: 3.01 (-2.94,2.94) [-10.00,5.00]
Total: 530 W: 285 L: 222 D: 23

minishogi
LLR: -0.12 (-2.94,2.94) [-10.00,5.00]
Total: 1000 W: 493 L: 503 D: 4

No functional change for non-shogi variants.
src/evaluate.cpp