Skip to content

Commit

Permalink
perf: change default action 🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker2770 committed Aug 1, 2024
1 parent 18a1141 commit 0a74369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/play.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ void SelfPlay::play(unsigned int saved_id)
}
}

int res = mcts->get_action_by_sample(action_probs);
// int res = mcts->get_best_action_from_prob(action_probs);
// int res = mcts->get_action_by_sample(action_probs);
int res = mcts->get_best_action_from_prob(action_probs);
mcts->update_with_move(res);
g->execute_move(res);
game_state = g->get_game_status();
Expand Down

0 comments on commit 0a74369

Please sign in to comment.