From 7919b5aa7a79b98348d3645bff8b0987e9ea549a Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sat, 1 Sep 2018 11:12:38 +0200 Subject: Removed TODO on thinking about energy cutoffs --- src/strategy/monte_carlo.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/strategy/monte_carlo.rs b/src/strategy/monte_carlo.rs index 952e2b1..51dcb43 100644 --- a/src/strategy/monte_carlo.rs +++ b/src/strategy/monte_carlo.rs @@ -18,9 +18,8 @@ use time::{Duration, PreciseTime}; #[cfg(not(feature = "single-threaded"))] use rayon::prelude::*; -//TODO Rethink / adjust these? #[cfg(feature = "energy-cutoff")] pub const ENERGY_PRODUCTION_CUTOFF: u16 = 50; -#[cfg(feature = "energy-cutoff")] pub const ENERGY_STORAGE_CUTOFF: u16 = 100; +#[cfg(feature = "energy-cutoff")] pub const ENERGY_STORAGE_CUTOFF: u16 = 120; pub fn choose_move(state: &BitwiseGameState, start_time: PreciseTime, max_time: Duration) -> Command { let mut command_scores = CommandScore::init_command_scores(state); -- cgit v1.2.3