Don't use "OwnBook" by default
authorMarco Costalba <mcostalba@gmail.com>
Sat, 17 Mar 2012 12:16:23 +0000 (13:16 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 17 Mar 2012 12:16:51 +0000 (13:16 +0100)
Stick to UCI protocol that says:

* by default all the opening book handling is done by the GUI,
  but there is an option for the engine to use its own book
  ("OwnBook" option, see below)

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

src/benchmark.cpp
src/ucioption.cpp

index 4735729..4124899 100644 (file)
@@ -72,7 +72,6 @@ void benchmark(int argc, char* argv[]) {
 
   Options["Hash"]    = ttSize;
   Options["Threads"] = threads;
-  Options["OwnBook"] = false;
 
   if (valType == "time")
       limits.maxTime = 1000 * atoi(valStr.c_str()); // maxTime is in ms
index 75eb205..fe1a470 100644 (file)
@@ -76,7 +76,7 @@ OptionsMap::OptionsMap() {
   o["Hash"]                        = UCIOption(32, 4, 8192, on_hash_size);
   o["Clear Hash"]                  = UCIOption(on_clear_hash);
   o["Ponder"]                      = UCIOption(true);
-  o["OwnBook"]                     = UCIOption(true);
+  o["OwnBook"]                     = UCIOption(false);
   o["MultiPV"]                     = UCIOption(1, 1, 500);
   o["Skill Level"]                 = UCIOption(20, 0, 20);
   o["Emergency Move Horizon"]      = UCIOption(40, 0, 50);