Remove skipEarlyPruning argument to search()
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 8 May 2018 08:43:46 +0000 (10:43 +0200)
committerStéphane Nicolet <cassio@free.fr>
Tue, 8 May 2018 08:43:56 +0000 (10:43 +0200)
commit8d1625d6df6d9918ca85cd3e169a06e3749c2f67
tree36a76345bd53241557de529ba4992cb903523a11
parent155d5417d91603f3cfb669da4eaa5eeba0f44273
Remove skipEarlyPruning argument to search()

Remove nine boolean arguments and the corresponding skipEarlyPruning variable.
Instead, skip early pruning only when there is an excluded move, and try null
move pruning only if the previous move was not itself a null move.

passed STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 33623 W: 6853 L: 6755 D: 20015
http://tests.stockfishchess.org/tests/view/5aef462a0ebc5902a409a10e

passed LTC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 39474 W: 5882 L: 5789 D: 27803
http://tests.stockfishchess.org/tests/view/5aefd4b80ebc5902a409a164

Closes https://github.com/official-stockfish/Stockfish/pull/1585

Bench: 4953556
src/search.cpp