mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Hardcode depth limit for selective search
Because futility margins array has a fixed size we cannot arbitrarly choose or change the SelectiveDepth parameter, otherwise we have a crash for values bigger then array size. On the other hand tweaking of this parameter requires some modification to the hardcoded margins, so makes sense to hard code also this very bounded one. Who wants to experiment is of course free to change the sources. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -125,7 +125,6 @@ namespace {
|
||||
o["Full Depth Moves (PV nodes)"] = Option(14, 1, 100);
|
||||
o["Full Depth Moves (non-PV nodes)"] = Option(3, 1, 100);
|
||||
o["Threat Depth"] = Option(5, 0, 100);
|
||||
o["Selective Plies"] = Option(7, 0, 10);
|
||||
o["Futility Pruning (Main Search)"] = Option(true);
|
||||
o["Futility Pruning (Quiescence Search)"] = Option(true);
|
||||
o["Futility Margin (Quiescence Search)"] = Option(50, 0, 1000);
|
||||
|
||||
Reference in New Issue
Block a user