Skip to content

Commit

Permalink
Release 0.9.3 (#117)
Browse files Browse the repository at this point in the history
* updated to 0.9.3
revert #112
removed TERMINAL_NODE_CACHE

TC: 3s + 0.1s
Score of ClassicAra 0.9.3-Release vs ClassicAra 0.9.0 - Release: 29 - 29
- 46 [0.500]
Elo difference: 0.0 +/- 50.1, LOS: 50.0 %, DrawRatio: 44.2 %

104 of 1000 games finished.

* changed by to nextNode->is_playout_node() && nextNode->is_solved()

Score of CrazyAra 0.9.3 - Release vs CrazyAra 0.9.0 - Release: 99 - 97 -
28 [0.504]
Elo difference: 3.1 +/- 42.7, LOS: 55.7 %, DrawRatio: 12.5 %

224 of 1000 games finished.
  • Loading branch information
QueensGambit authored May 24, 2021
1 parent 7329a1e commit 3132a8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/src/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion engine/src/searchthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 3132a8e

Please sign in to comment.