mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Remove "Threat Depth" ucioption
This option likely has very low meaning for playing strength and style, so I see no need to keep this configurable No functional change Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
34c7f1387d
commit
5bb9da9287
@@ -171,6 +171,9 @@ namespace {
|
|||||||
// evaluation of the position is more than NullMoveMargin below beta.
|
// evaluation of the position is more than NullMoveMargin below beta.
|
||||||
const Value NullMoveMargin = Value(0x200);
|
const Value NullMoveMargin = Value(0x200);
|
||||||
|
|
||||||
|
// Depth limit for use of dynamic threat detection when null move fails low
|
||||||
|
const Depth ThreatDepth = 5 * OnePly;
|
||||||
|
|
||||||
// Step 9. Internal iterative deepening
|
// Step 9. Internal iterative deepening
|
||||||
|
|
||||||
const Depth IIDDepthAtPVNodes = 5 * OnePly;
|
const Depth IIDDepthAtPVNodes = 5 * OnePly;
|
||||||
@@ -226,9 +229,6 @@ namespace {
|
|||||||
|
|
||||||
/// Variables initialized by UCI options
|
/// Variables initialized by UCI options
|
||||||
|
|
||||||
// Depth limit for use of dynamic threat detection
|
|
||||||
Depth ThreatDepth;
|
|
||||||
|
|
||||||
// Last seconds noise filtering (LSN)
|
// Last seconds noise filtering (LSN)
|
||||||
const bool UseLSNFiltering = true;
|
const bool UseLSNFiltering = true;
|
||||||
const int LSNTime = 4000; // In milliseconds
|
const int LSNTime = 4000; // In milliseconds
|
||||||
@@ -429,8 +429,6 @@ bool think(const Position& pos, bool infinite, bool ponder, int side_to_move,
|
|||||||
MateThreatExtension[1] = Depth(get_option_value_int("Mate Threat Extension (PV nodes)"));
|
MateThreatExtension[1] = Depth(get_option_value_int("Mate Threat Extension (PV nodes)"));
|
||||||
MateThreatExtension[0] = Depth(get_option_value_int("Mate Threat Extension (non-PV nodes)"));
|
MateThreatExtension[0] = Depth(get_option_value_int("Mate Threat Extension (non-PV nodes)"));
|
||||||
|
|
||||||
ThreatDepth = get_option_value_int("Threat Depth") * OnePly;
|
|
||||||
|
|
||||||
Chess960 = get_option_value_bool("UCI_Chess960");
|
Chess960 = get_option_value_bool("UCI_Chess960");
|
||||||
ShowCurrentLine = get_option_value_bool("UCI_ShowCurrLine");
|
ShowCurrentLine = get_option_value_bool("UCI_ShowCurrLine");
|
||||||
UseLogFile = get_option_value_bool("Use Search Log");
|
UseLogFile = get_option_value_bool("Use Search Log");
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ namespace {
|
|||||||
o["Passed Pawn Extension (non-PV nodes)"] = Option(0, 0, 2);
|
o["Passed Pawn Extension (non-PV nodes)"] = Option(0, 0, 2);
|
||||||
o["Pawn Endgame Extension (PV nodes)"] = Option(2, 0, 2);
|
o["Pawn Endgame Extension (PV nodes)"] = Option(2, 0, 2);
|
||||||
o["Pawn Endgame Extension (non-PV nodes)"] = Option(2, 0, 2);
|
o["Pawn Endgame Extension (non-PV nodes)"] = Option(2, 0, 2);
|
||||||
o["Threat Depth"] = Option(5, 0, 100);
|
|
||||||
o["Randomness"] = Option(0, 0, 10);
|
o["Randomness"] = Option(0, 0, 10);
|
||||||
o["Minimum Split Depth"] = Option(4, 4, 7);
|
o["Minimum Split Depth"] = Option(4, 4, 7);
|
||||||
o["Maximum Number of Threads per Split Point"] = Option(5, 4, 8);
|
o["Maximum Number of Threads per Split Point"] = Option(5, 4, 8);
|
||||||
|
|||||||
Reference in New Issue
Block a user