mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Retire LMRPVMoves and LMRNonPVMoves
Are no used anymore. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
806c1d8723
commit
285df57a9a
2 changed files with 1 additions and 8 deletions
|
@ -193,9 +193,6 @@ namespace {
|
||||||
|
|
||||||
/// Variables initialized by UCI options
|
/// Variables initialized by UCI options
|
||||||
|
|
||||||
// Minimum number of full depth (i.e. non-reduced) moves at PV and non-PV nodes
|
|
||||||
int LMRPVMoves, LMRNonPVMoves;
|
|
||||||
|
|
||||||
// Depth limit for use of dynamic threat detection
|
// Depth limit for use of dynamic threat detection
|
||||||
Depth ThreatDepth;
|
Depth ThreatDepth;
|
||||||
|
|
||||||
|
@ -426,8 +423,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)"));
|
||||||
|
|
||||||
LMRPVMoves = get_option_value_int("Full Depth Moves (PV nodes)") + 1;
|
|
||||||
LMRNonPVMoves = get_option_value_int("Full Depth Moves (non-PV nodes)") + 1;
|
|
||||||
ThreatDepth = get_option_value_int("Threat Depth") * OnePly;
|
ThreatDepth = get_option_value_int("Threat Depth") * OnePly;
|
||||||
|
|
||||||
Chess960 = get_option_value_bool("UCI_Chess960");
|
Chess960 = get_option_value_bool("UCI_Chess960");
|
||||||
|
@ -566,7 +561,7 @@ void init_threads() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Init our logarithmic lookup table
|
// Init our logarithmic lookup table
|
||||||
for (int i = 0; i < 512; i++)
|
for (i = 0; i < 512; i++)
|
||||||
lnArray[i] = log(double(i)); // log() returns base-e logarithm
|
lnArray[i] = log(double(i)); // log() returns base-e logarithm
|
||||||
|
|
||||||
for (i = 0; i < THREAD_MAX; i++)
|
for (i = 0; i < THREAD_MAX; i++)
|
||||||
|
|
|
@ -116,8 +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["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["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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue