diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-09-01 11:12:38 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-09-01 11:12:38 +0200 |
commit | 7919b5aa7a79b98348d3645bff8b0987e9ea549a (patch) | |
tree | a92653cd933d2b4da3d24b99d42797dccd59e22a /src | |
parent | 6f2f6ce1e5d53a2344a26862eb05e4e12bfabe1a (diff) |
Removed TODO on thinking about energy cutoffs
Diffstat (limited to 'src')
-rw-r--r-- | src/strategy/monte_carlo.rs | 3 |
1 files changed, 1 insertions, 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); |