From 17441593bd78a82a18695cd2b1b53465e3c26285 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Mon, 27 Aug 2018 22:22:23 +0200 Subject: More plot info for debug --- src/strategy/monte_carlo.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/strategy') diff --git a/src/strategy/monte_carlo.rs b/src/strategy/monte_carlo.rs index 7672dff..b8d89aa 100644 --- a/src/strategy/monte_carlo.rs +++ b/src/strategy/monte_carlo.rs @@ -71,7 +71,8 @@ pub fn choose_move(state: &BitwiseGameState, start_time: PreciseTime, max_time: #[cfg(feature = "debug-decisions")] fn debug_print_choices Option<(Point, i32)>>(label: &str, command_scores: &[CommandScore], extractor: F) { - println!("{}", label); + println!("#+NAME: {}", label); + println!("#+PLOT: type:3d with:pm3d"); let relevant_moves: Vec<(Point, i32)> = command_scores.iter() .filter_map(extractor) .collect(); -- cgit v1.2.3