X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fucioption.cpp;h=6e727954e68095a6896a03ac3fc5f1fbc2a4db74;hb=e2e249eabd2493e2bb9e5e017aafaac074a706ef;hp=a478a0cb21fcd69578109a661a69b2af8b8d87b4;hpb=27619830d428693b4871ce58770705b30ba84c99;p=stockfish diff --git a/src/ucioption.cpp b/src/ucioption.cpp index a478a0cb..6e727954 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -116,14 +116,9 @@ namespace { 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 (non-PV nodes)"] = Option(2, 0, 2); - o["Full Depth Moves (PV nodes)"] = Option(14, 1, 100); + o["Full Depth Moves (PV nodes)"] = Option(10, 1, 100); o["Full Depth Moves (non-PV nodes)"] = Option(3, 1, 100); o["Threat Depth"] = Option(5, 0, 100); - o["Futility Pruning (Main Search)"] = Option(true); - o["Futility Pruning (Quiescence Search)"] = Option(true); - o["LSN filtering"] = Option(true); - o["LSN Time Margin (sec)"] = Option(4, 1, 10); - o["LSN Value Margin"] = Option(200, 100, 600); o["Randomness"] = Option(0, 0, 10); o["Minimum Split Depth"] = Option(4, 4, 7); o["Maximum Number of Threads per Split Point"] = Option(5, 4, 8); @@ -135,6 +130,7 @@ namespace { o["MultiPV"] = Option(1, 1, 500); o["UCI_ShowCurrLine"] = Option(false); o["UCI_Chess960"] = Option(false); + o["UCI_AnalyseMode"] = Option(false); // Any option should know its name so to be easily printed for (Options::iterator it = o.begin(); it != o.end(); ++it) @@ -196,15 +192,6 @@ void init_uci_options() { options["Threads"].defaultValue = stringify(Min(cpu_count(), 7)); options["Threads"].currentValue = stringify(Min(cpu_count(), 7)); - - // Increase the minimum split depth when the number of CPUs is big. - // It would probably be better to let this depend on the number of threads - // instead. - if (cpu_count() > 4) - { - options["Minimum Split Depth"].defaultValue = "6"; - options["Minimum Split Depth"].currentValue = "6"; - } } @@ -223,7 +210,7 @@ void print_uci_options() { for (Options::const_iterator it = options.begin(); it != options.end(); ++it) vec.push_back(it->second); - std::sort(vec.begin(), vec.end()); + std::stable_sort(vec.begin(), vec.end()); for (std::vector