Reformat UCI option code

Make a better use of C++ operators overloading to
streamline the APIs.

Also sync polyglot.ini file while there.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-12-26 16:21:13 +01:00
parent c2d42ea833
commit 87b483f999
7 changed files with 103 additions and 124 deletions

View File

@@ -112,8 +112,8 @@ bool Thread::is_available_to(int master) const {
void ThreadsManager::read_uci_options() {
maxThreadsPerSplitPoint = Options["Maximum Number of Threads per Split Point"].value<int>();
minimumSplitDepth = Options["Minimum Split Depth"].value<int>() * ONE_PLY;
maxThreadsPerSplitPoint = Options["Max Threads per Split Point"].value<int>();
minimumSplitDepth = Options["Min Split Depth"].value<int>() * ONE_PLY;
useSleepingThreads = Options["Use Sleeping Threads"].value<bool>();
set_size(Options["Threads"].value<int>());