From ee70413bcf470d7934d57ca42dc898375058650c Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Tue, 4 Mar 2025 14:59:00 -0500 Subject: [PATCH] testing --- src/elo.rs | 8 ++++---- src/logic/future_moves.rs | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/elo.rs b/src/elo.rs index 69f8865..ca6eaff 100644 --- a/src/elo.rs +++ b/src/elo.rs @@ -23,12 +23,12 @@ pub fn run() { children_eval_method: ChildrenEvalMethod::Max, }; - let vec: Vec<(String, Box Box>)> = (1..6) + let vec: Vec<(String, Box Box>)> = (1..=6) .flat_map(|d| { [ ChildrenEvalMethod::Average, - ChildrenEvalMethod::Max, - ChildrenEvalMethod::Min, + // ChildrenEvalMethod::Max, + // ChildrenEvalMethod::Min, ] .into_iter() .map(move |m| -> (String, Box Box>) { @@ -51,7 +51,7 @@ pub fn run() { let mut arena = PlayerArena::new(vec); - arena.prop_arena(100); + arena.prop_arena(300); println!("{}", arena); } diff --git a/src/logic/future_moves.rs b/src/logic/future_moves.rs index 1d8019d..7bd896b 100644 --- a/src/logic/future_moves.rs +++ b/src/logic/future_moves.rs @@ -48,6 +48,7 @@ pub struct FutureMoveConfig { #[derive(Debug, Clone, Copy)] pub enum ChildrenEvalMethod { + /// Best (by far) strat compared to Max or Min Average, Max, Min,