diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | src/strategy/monte_carlo.rs | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,3 @@ -#![warn(clippy)] - extern crate serde; extern crate serde_json; 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<F: FnMut(&CommandScore) -> 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(); |