From 8da292fa587a06deabb377af18498f9cec10c79d Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Tue, 16 Jul 2019 20:53:09 +0200 Subject: Commented missed debug logging --- src/strategy/minimax.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/strategy/minimax.rs b/src/strategy/minimax.rs index 699a4f6..f87d850 100644 --- a/src/strategy/minimax.rs +++ b/src/strategy/minimax.rs @@ -40,14 +40,14 @@ pub fn choose_move( } //eprintln!("Number of simulations: {}", root_node.score_sum.visit_count); - for (command, score_sum) in &root_node.player_score_sums[0] { - eprintln!( - "{} = {} ({} visits)", - command, - score_sum.avg().val, - score_sum.visit_count - ); - } + // for (command, score_sum) in &root_node.player_score_sums[0] { + // eprintln!( + // "{} = {} ({} visits)", + // command, + // score_sum.avg().val, + // score_sum.visit_count + // ); + // } let chosen_command = best_player_move(&root_node); -- cgit v1.2.3