summaryrefslogtreecommitdiff
path: root/src/strategy/mcts.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/strategy/mcts.rs')
-rw-r--r--src/strategy/mcts.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strategy/mcts.rs b/src/strategy/mcts.rs
index 0d1540e..26edf16 100644
--- a/src/strategy/mcts.rs
+++ b/src/strategy/mcts.rs
@@ -26,7 +26,7 @@ pub fn choose_move(
.map(|(_k, n)| n)
.find(|n| n.state == *state)
.unwrap_or_else(|| {
- eprintln!("Previous round did not appear in the cache");
+ //eprintln!("Previous round did not appear in the cache");
Node {
state: state.clone(),
score_sum: ScoreSum::new(),
@@ -41,9 +41,9 @@ pub fn choose_move(
let _ = mcts(&mut root_node);
}
- eprintln!("Number of simulations: {}", root_node.score_sum.visit_count);
+ //eprintln!("Number of simulations: {}", root_node.score_sum.visit_count);
for (command, score_sum) in &root_node.player_score_sums[0] {
- eprintln!(
+ //eprintln!(
"{} = {} ({} visits)",
command,
score_sum.avg().val,