From 0a7436981e2050424f9527fe6a7974714dd24654 Mon Sep 17 00:00:00 2001 From: Joker2770 <1214220480@qq.com> Date: Thu, 1 Aug 2024 10:28:26 +0800 Subject: [PATCH] perf: change default action :construction: --- src/play.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/play.cpp b/src/play.cpp index 1834de3..817bcec 100644 --- a/src/play.cpp +++ b/src/play.cpp @@ -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();