From c9f09a22bc54b6275913aa3b900b402c56461c32 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sun, 12 Aug 2018 21:00:52 +0200 Subject: Reduced more duplication and removed TODOs --- src/strategy/monte_carlo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strategy') 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 { //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 { let mut result = Vec::with_capacity(4); -- cgit v1.2.3