mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 02:27:00 +08:00
Implement 'old' multipv search.
It seems to be a waste of time to loop through all remaining root moves after finishing each PV line. This patch skips this until we have reached the last PV line (this is the way it was done in Glaurung and very early versions of Stockfish). No functional change in Single PV mode. MultiPV=3 STC and LTC tests LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 3113 W: 1248 L: 1064 D: 801 LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 2260 W: 848 L: 679 D: 733 Bench: 5023629
This commit is contained in:
committed by
Stéphane Nicolet
parent
83c828f31e
commit
44a7db0f9a
@@ -60,7 +60,7 @@ public:
|
||||
Pawns::Table pawnsTable;
|
||||
Material::Table materialTable;
|
||||
Endgames endgames;
|
||||
size_t PVIdx;
|
||||
size_t PVIdx, multiPV;
|
||||
int selDepth, nmp_ply, nmp_odd;
|
||||
std::atomic<uint64_t> nodes, tbHits;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user