Tweak initiative formula
authorsnicolet <cassio@free.fr>
Wed, 2 Mar 2016 00:00:41 +0000 (00:00 +0000)
committerJoona Kiiski <joona@zoox.com>
Wed, 2 Mar 2016 00:02:03 +0000 (00:02 +0000)
commitc1be0c68c78793dc6f18bf6c1b1ee078dcc39fcc
treeba2583aaa2ba609ad1f7756dbd40c4b81f44584d
parentc13052f344e1de69bd824256427fd7e723a79e14
Tweak initiative formula

Give more weight to the pawns number and
the vertical king distance in evaluate_initiative()

Passed STC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 26729 W: 5067 L: 4825 D: 16837

and LTC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 60480 W: 8338 L: 8016 D: 44126

Bench: 8295162

Resolves #594
src/evaluate.cpp