Switch to set recommended learn UCI options

This commit is contained in:
Tomasz Sobczyk
2020-10-07 11:30:46 +02:00
committed by nodchip
parent d1c44dca04
commit 2e57f3fa22
2 changed files with 14 additions and 0 deletions

View File

@@ -1745,6 +1745,18 @@ namespace Learner
else if (option == "dest_score_min_value") is >> dest_score_min_value;
else if (option == "dest_score_max_value") is >> dest_score_max_value;
else if (option == "seed") is >> seed;
else if (option == "set_recommended_uci_options")
{
UCI::setoption("Use NNUE", "pure");
UCI::setoption("MultiPV", "1");
UCI::setoption("Contempt", "0");
UCI::setoption("Skill Level", "20");
UCI::setoption("UCI_Chess960", "false");
UCI::setoption("UCI_AnalyseMode", "false");
UCI::setoption("UCI_LimitStrength", "false");
UCI::setoption("PruneAtShallowDepth", "false");
UCI::setoption("EnableTranspositionTable", "false");
}
// Otherwise, it's a filename.
else
filenames.push_back(option);