Use CounterMoveHistory when calculating LMR for cut nodes
authorVoyagerOne <excelgeek@gmail.com>
Sat, 28 Mar 2015 21:15:49 +0000 (21:15 +0000)
committerJoona Kiiski <joona.kiiski@gmail.com>
Sat, 28 Mar 2015 21:15:49 +0000 (21:15 +0000)
commitac8e6ff000d3d990ae07297ec60e33a9cfb513b1
treede027b883acd8f02bd3ddb9fc6ea0b0811340ebc
parent3a6753328cb18b043c36f8f7c1faeb4b88a2cdc0
Use CounterMoveHistory when calculating LMR for cut nodes

If the sum of CounterMoveHistory heuristic and History heuristic is below zero,
then reduce an extra ply in cut nodes

LTC:
LLR: 2.96 (-2.94,2.94) [0.00,6.00]
Total: 6479 W: 1099 L: 967 D: 4413

Bench: 7773299

Resolves #315
src/search.cpp