mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00: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:
|
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.
|
`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`.
|
`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;
|
is >> sfen_format;
|
||||||
else if (token == "seed")
|
else if (token == "seed")
|
||||||
is >> 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
|
else
|
||||||
cout << "Error! : Illegal token " << token << endl;
|
cout << "Error! : Illegal token " << token << endl;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user