// evaluation of the position is more than NullMoveMargin below beta.
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
const Depth IIDDepthAtPVNodes = 5 * OnePly;
/// Variables initialized by UCI options
- // Depth limit for use of dynamic threat detection
- Depth ThreatDepth;
-
// Last seconds noise filtering (LSN)
const bool UseLSNFiltering = true;
const int LSNTime = 4000; // In milliseconds
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)"));
- ThreatDepth = get_option_value_int("Threat Depth") * OnePly;
-
Chess960 = get_option_value_bool("UCI_Chess960");
ShowCurrentLine = get_option_value_bool("UCI_ShowCurrLine");
UseLogFile = get_option_value_bool("Use Search Log");