]> git.sesse.net Git - stockfish/commit - src/material.cpp
Remove RedundantMajor
authorChris Caino <chricainogithub@gmail.com>
Thu, 7 Nov 2013 18:28:57 +0000 (18:28 +0000)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 10 Nov 2013 08:48:49 +0000 (09:48 +0100)
commit3ed86ed3f95f712587bea62f4a7fc474812db458
treea7a4b84083dbaea48942ab656db1222e7a96f51e
parente4d34e18153c953e63c49dc1c9dfd8ccdaa259f0
Remove RedundantMajor

But compensate by reducing rook and queen
value by 53 = (160 / 3)

Material imbalances are affected as follows:

       Red. Major   Rook  Queen  Total
QRR      +160      -2*53    -53     +1
QR       +160        -53    -53    +54
RR       +160      -2*53      0    +54
R           0        -53      0    -53
Q           0          0    -53    -53

so that the imbalance changes by at most 54 + 53 = 107 units.
This corresponds to appromximately 3.5cp in the final evaluation.

Verified with fixed number 40000 games at both short
and long TC it does not regress.

Short TC 15+0.05
ELO: 1.93 +-2.1 (95%) LOS: 96.6%
Total: 40000 W: 7520 L: 7298 D: 25182

Long TC 60+0.05
ELO: -0.33 +-1.9 (95%) LOS: 36.5%
Total: 39663 W: 6067 L: 6105 D: 27491

bench: 6703846
src/material.cpp