mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 19:16:49 +08:00
Switch to set recommended gensfen UCI options
This commit is contained in:
@@ -12,6 +12,8 @@ It is recommended to keep the `EnableTranspositionTable` UCI option at the defau
|
||||
|
||||
Currently the following options are available:
|
||||
|
||||
`set_recommended_uci_options` - this is a modifier not a parameter, no value follows it. If specified then some UCI options are set to recommended values.
|
||||
|
||||
`depth` - minimum depth of evaluation of each position. Default: 3.
|
||||
|
||||
`depth2` - maximum depth of evaluation of each position. If not specified then the same as `depth`.
|
||||
|
||||
@@ -1014,6 +1014,16 @@ namespace Learner
|
||||
is >> sfen_format;
|
||||
else if (token == "seed")
|
||||
is >> seed;
|
||||
else if (token == "set_recommended_uci_options")
|
||||
{
|
||||
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", "true");
|
||||
}
|
||||
else
|
||||
cout << "Error! : Illegal token " << token << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user