]> git.sesse.net Git - stockfish/commit
Introduce movecount pruning for qsearch()
authorVizvezdenec <Vizvezdenec@gmail.com>
Sun, 23 Aug 2020 11:22:32 +0000 (14:22 +0300)
committerStéphane Nicolet <cassio@free.fr>
Sun, 23 Aug 2020 21:27:03 +0000 (23:27 +0200)
commitd5f86b63597fdb25b8c670e42ca468c99ca95a74
tree6258a15e16fa2b3f0bac91d179889a4d9d9fc166
parentcc9d503ddea998890112efd08fae3705f2727e37
Introduce movecount pruning for qsearch()

If in quiescence search, we assume that me can prune late moves when:

a) the move ordering count of the move is : moveCount > abs(depth) + 2
b) we are not in check
c) the late move does not give check
d) the late move is not an advanced pawn push

Modification of an original idea by @VoyagerOne.

STC
https://tests.stockfishchess.org/tests/view/5f40581787a5c3c63d8f535f
LLR: 2.96 (-2.94,2.94) {-0.25,1.25}
Total: 132848 W: 14999 L: 14661 D: 103188
Ptnml(0-2): 684, 11242, 42309, 11430, 759

LTC
https://tests.stockfishchess.org/tests/view/5f4226da87a5c3c63d8f5412
LLR: 2.98 (-2.94,2.94) {0.25,1.25}
Total: 12008 W: 678 L: 551 D: 10779
Ptnml(0-2): 8, 485, 4899, 596, 16

closes https://github.com/official-stockfish/Stockfish/pull/3053

Bench: 3749974
src/movepick.h
src/search.cpp