]> git.sesse.net Git - stockfish/commit
Sort captures
authorGiacomo Lorenzetti <g.lorenz9@protonmail.com>
Tue, 1 Mar 2022 08:34:40 +0000 (09:34 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 1 Mar 2022 16:51:37 +0000 (17:51 +0100)
commit4ac7d726ec5ba38ba593bca2ab5cb7589785a957
treeeb570f4dafe480bb2a6040261f20ff49b9fa92e2
parent174b038bf3b3b8a0d82422a861a050391a33f34a
Sort captures

This patch (partially) sort captures in analogy to quiet moves. All
three movepickers are affected, hence `depth` is added as an argument in
probcut's.

Passed STC:
https://tests.stockfishchess.org/tests/view/621a4576da649bba32ef6fd4
LLR: 2.95 (-2.94,2.94) <0.00,2.50>
Total: 103848 W: 27884 L: 27473 D: 48491
Ptnml(0-2): 587, 11691, 26974, 12068, 604

Passed LTC:
https://tests.stockfishchess.org/tests/view/621aaa5bda649bba32ef7c2d
LLR: 2.96 (-2.94,2.94) <0.50,3.00>
Total: 212032 W: 56420 L: 55739 D: 99873
Ptnml(0-2): 198, 21310, 62348, 21933, 227

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

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