1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Stockfish 3

Stockfish bench signature is: 4176431
This commit is contained in:
Marco Costalba 2013-04-29 00:59:57 +02:00
parent 293c44bc09
commit aa2368a687
4 changed files with 4 additions and 5 deletions

View file

@ -29,7 +29,7 @@ Cowardice = 100
Min Split Depth = 4 Min Split Depth = 4
Max Threads per Split Point = 5 Max Threads per Split Point = 5
Threads = 1 Threads = 1
Use Sleeping Threads = true Use Sleeping Threads = false
Hash = 128 Hash = 128
Ponder = true Ponder = true
OwnBook = false OwnBook = false

View file

@ -33,7 +33,7 @@ using namespace std;
/// Version number. If Version is left empty, then Tag plus current /// Version number. If Version is left empty, then Tag plus current
/// date, in the format DD-MM-YY, are used as a version number. /// date, in the format DD-MM-YY, are used as a version number.
static const string Version = ""; static const string Version = "3";
static const string Tag = ""; static const string Tag = "";

View file

@ -27,7 +27,6 @@
#include "position.h" #include "position.h"
#include "search.h" #include "search.h"
#include "thread.h" #include "thread.h"
#include "tt.h"
#include "ucioption.h" #include "ucioption.h"
using namespace std; using namespace std;
@ -103,7 +102,7 @@ void UCI::loop(const string& args) {
<< "\n" << Options << "\n" << Options
<< "\nuciok" << sync_endl; << "\nuciok" << sync_endl;
else if (token == "ucinewgame") TT.clear(); else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ }
else if (token == "go") go(pos, is); else if (token == "go") go(pos, is);
else if (token == "position") set_position(pos, is); else if (token == "position") set_position(pos, is);
else if (token == "setoption") set_option(is); else if (token == "setoption") set_option(is);

View file

@ -75,7 +75,7 @@ void init(OptionsMap& o) {
o["Min Split Depth"] = Option(msd, 4, 12, on_threads); o["Min Split Depth"] = Option(msd, 4, 12, on_threads);
o["Max Threads per Split Point"] = Option(5, 4, 8, on_threads); o["Max Threads per Split Point"] = Option(5, 4, 8, on_threads);
o["Threads"] = Option(cpus, 1, MAX_THREADS, on_threads); o["Threads"] = Option(cpus, 1, MAX_THREADS, on_threads);
o["Use Sleeping Threads"] = Option(true); o["Use Sleeping Threads"] = Option(false);
o["Hash"] = Option(32, 1, 8192, on_hash_size); o["Hash"] = Option(32, 1, 8192, on_hash_size);
o["Clear Hash"] = Option(on_clear_hash); o["Clear Hash"] = Option(on_clear_hash);
o["Ponder"] = Option(true); o["Ponder"] = Option(true);