mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Better check evasion move sorting
Use in addition the counter move history table for sorting quiet check evasion moves in main and quiecence search. Also rename "contHistory" to "continuationHistory" while there. STC: LLR: 2.96 (-2.94,2.94) [0.00,5.00] Total: 73284 W: 16433 L: 15938 D: 40913 http://tests.stockfishchess.org/tests/view/5b4f526e0ebc5902bdb7a401 LTC: LLR: 2.96 (-2.94,2.94) [0.00,5.00] Total: 12135 W: 2171 L: 1997 D: 7967 http://tests.stockfishchess.org/tests/view/5b4fc0ef0ebc5902bdb7ae0e Closes https://github.com/official-stockfish/Stockfish/pull/1685 Bench 4817583
This commit is contained in:
committed by
Stéphane Nicolet
parent
3913726d1c
commit
12e79be910
@@ -61,11 +61,11 @@ void Thread::clear() {
|
||||
mainHistory.fill(0);
|
||||
captureHistory.fill(0);
|
||||
|
||||
for (auto& to : contHistory)
|
||||
for (auto& to : continuationHistory)
|
||||
for (auto& h : to)
|
||||
h.get()->fill(0);
|
||||
|
||||
contHistory[NO_PIECE][0].get()->fill(Search::CounterMovePruneThreshold - 1);
|
||||
continuationHistory[NO_PIECE][0].get()->fill(Search::CounterMovePruneThreshold - 1);
|
||||
}
|
||||
|
||||
/// Thread::start_searching() wakes up the thread that will start the search
|
||||
|
||||
Reference in New Issue
Block a user