]> git.sesse.net Git - stockfish/commit
Change definition of "weak" in threats calculation
authorsnicolet <cassio@free.fr>
Sun, 26 Feb 2017 01:43:54 +0000 (17:43 -0800)
committerJoona Kiiski <joona@zoox.com>
Sun, 26 Feb 2017 01:43:54 +0000 (17:43 -0800)
commit8f7e032b8c8c2c19e37ece09eecb589fe2342daa
tree23bac4d6bec3d8889f68001adac53ae40c94350e
parentf1e3dfea748eef8ba443dace21c1663ac8bd5119
Change definition of "weak" in threats calculation

By defining "strongly protected" as "protected by a pawn, or protected
by two pieces and not attacked by two enemy pieces".

Passed STC:
LLR: 2.97 (-2.94,2.94) [0.00,5.00]
Total: 17050 W: 3128 L: 2931 D: 10991

Passed LTC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 120995 W: 15852 L: 15343 D: 89800

Bench : 6269229

Closes #1016
src/evaluate.cpp