From: Joona Kiiski Date: Thu, 25 Feb 2010 17:16:12 +0000 (+0200) Subject: Clean up common adjustments X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=0d292d1a2d3f2f72270ee13c2231bc8cb84ede7f Clean up common adjustments Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 1bf56c8e..8da1c345 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -218,7 +218,7 @@ namespace { inline Depth pv_reduction(Depth d, int mn) { return (Depth) PVReductionMatrix[Min(d / 2, 63)][Min(mn, 63)]; } inline Depth nonpv_reduction(Depth d, int mn) { return (Depth) NonPVReductionMatrix[Min(d / 2, 63)][Min(mn, 63)]; } - + // Step. Common adjustments // Search depth at iteration 1 const Depth InitialDepth = OnePly; @@ -227,14 +227,15 @@ namespace { // better than the second best move. const Value EasyMoveMargin = Value(0x200); - /// Variables initialized by UCI options - // Last seconds noise filtering (LSN) const bool UseLSNFiltering = true; const int LSNTime = 4000; // In milliseconds const Value LSNValue = value_from_centipawns(200); bool loseOnTime = false; + + /// Global variables + // Iteration counters int Iteration;