diff --git a/engine/src/constants.h b/engine/src/constants.h index 3a2487f1..b3db783b 100644 --- a/engine/src/constants.h +++ b/engine/src/constants.h @@ -53,7 +53,7 @@ const string engineName = "MultiAra"; const string engineName = "ClassicAra"; #endif -const string engineVersion = "0.9.3-Dev"; +const string engineVersion = "0.9.3"; const string engineAuthors = "Johannes Czech, Moritz Willig, Alena Beyer et al."; #define LOSS_VALUE -1 diff --git a/engine/src/searchthread.cpp b/engine/src/searchthread.cpp index 72661c26..0a0c159a 100644 --- a/engine/src/searchthread.cpp +++ b/engine/src/searchthread.cpp @@ -228,7 +228,11 @@ Node* SearchThread::get_new_child_to_evaluate(NodeDescription& description) } return nextNode; } +#ifdef MCTS_TB_SUPPORT if (nextNode->is_terminal() || (!reachedTablebases && nextNode->is_playout_node() && nextNode->is_solved())) { +#else + if (nextNode->is_playout_node() && nextNode->is_solved()) { +#endif description.type = NODE_TERMINAL; currentNode->unlock(); return nextNode; @@ -344,7 +348,7 @@ void SearchThread::create_mini_batch() while (!newNodes->is_full() && collisionTrajectories.size() != searchSettings->batchSize && !transpositionValues->is_full() && - numTerminalNodes < TERMINAL_NODE_CACHE) { + numTerminalNodes < searchSettings->batchSize*2) { trajectoryBuffer.clear(); actionsBuffer.clear();