diff --git a/engine/src/constants.h b/engine/src/constants.h index a8398a96..6a5b5690 100644 --- a/engine/src/constants.h +++ b/engine/src/constants.h @@ -59,7 +59,7 @@ const string engineName = "OpenSpielAra"; const string engineName = "ClassicAra"; #endif -const string engineVersion = "0.9.7"; +const string engineVersion = "0.9.7.post0"; #ifdef MODE_CRAZYHOUSE const string engineAuthors = "Johannes Czech, Moritz Willig, Alena Beyer and CrazyAra developers (see AUTHORS file)"; #elif defined MODE_LICHESS diff --git a/engine/src/manager/threadmanager.cpp b/engine/src/manager/threadmanager.cpp index 455fd0ea..7ec2b256 100644 --- a/engine/src/manager/threadmanager.cpp +++ b/engine/src/manager/threadmanager.cpp @@ -185,12 +185,7 @@ bool can_prolong_search(size_t curMoveNumber, size_t expectedGameLength) size_t get_avg_depth(const vector& searchThreads) { - size_t avgDetph = 0; - for (SearchThreadMaster* searchThread : searchThreads) { - avgDetph += searchThread->get_avg_depth(); - } - avgDetph = size_t(double(avgDetph) / searchThreads.size() + 0.5); - return avgDetph; + return 0; // TODO } size_t get_max_depth(const vector& searchThreads) diff --git a/engine/src/searchthreadmaster.cpp b/engine/src/searchthreadmaster.cpp index 0b034429..d25a7821 100644 --- a/engine/src/searchthreadmaster.cpp +++ b/engine/src/searchthreadmaster.cpp @@ -158,11 +158,7 @@ size_t SearchThreadMaster::get_tb_hits() const size_t SearchThreadMaster::get_avg_depth() { - float avgDepthSum = 0; - for (size_t idx = 0; idx < searchThreads.size(); ++idx) { - avgDepthSum += searchThreads[idx]->get_avg_depth(); - } - return avgDepthSum / searchThreads.size() + 0.5f; + return 0; // TODO } size_t SearchThreadMaster::get_max_depth() const