diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-08-12 21:00:52 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-08-12 21:00:52 +0200 |
commit | c9f09a22bc54b6275913aa3b900b402c56461c32 (patch) | |
tree | 7affa1194f2172d791028890134585e9a5fd176c /src/strategy | |
parent | 1f555a48c181a6ad274dd10e04d0c9a8460889db (diff) |
Reduced more duplication and removed TODOs
Diffstat (limited to 'src/strategy')
-rw-r--r-- | src/strategy/monte_carlo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strategy/monte_carlo.rs b/src/strategy/monte_carlo.rs index 2c9ff19..866ec0e 100644 --- a/src/strategy/monte_carlo.rs +++ b/src/strategy/monte_carlo.rs @@ -12,6 +12,7 @@ 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 = 100; #[cfg(feature = "energy-cutoff")] pub const ENERGY_STORAGE_CUTOFF: u16 = 100; @@ -235,7 +236,6 @@ fn sensible_buildings(player: &Player) -> Vec<BuildingType> { //TODO: Heuristic that avoids building the initial energy towers all in the same row? Max energy in a row? -//TODO: Update cutoff to maybe build iron curtains #[cfg(feature = "energy-cutoff")] fn sensible_buildings(player: &Player) -> Vec<BuildingType> { let mut result = Vec::with_capacity(4); |