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(10, 1, 100);
- o["Full Depth Moves (non-PV nodes)"] = Option(3, 1, 100);
o["Threat Depth"] = Option(5, 0, 100);
o["Randomness"] = Option(0, 0, 10);
o["Minimum Split Depth"] = Option(4, 4, 7);
// Set optimal value for parameter "Minimum Split Depth"
// according to number of available cores.
+ assert(options.find("Threads") != options.end());
assert(options.find("Minimum Split Depth") != options.end());
+ Option& thr = options["Threads"];
Option& msd = options["Minimum Split Depth"];
+ thr.defaultValue = thr.currentValue = stringify(cpu_count());
+
if (cpu_count() >= 8)
msd.defaultValue = msd.currentValue = stringify(7);
}