This commit is contained in:
Simon Gardling 2025-03-04 13:42:16 -05:00
parent 204ba85202
commit d82fff2e0a
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 7 additions and 6 deletions

View File

@ -17,13 +17,13 @@ pub fn run() {
min_arena_depth: 14,
top_k_children: 2,
up_to_minus: 10,
max_arena_size: 1_000_000,
max_arena_size: usize::MAX,
do_not_prune: true,
print: false,
children_eval_method: ChildrenEvalMethod::Max,
};
let vec: Vec<(String, Box<dyn Fn(Piece) -> Box<dyn Agent>>)> = (1..8)
let vec: Vec<(String, Box<dyn Fn(Piece) -> Box<dyn Agent>>)> = (1..6)
.flat_map(|d| {
[
ChildrenEvalMethod::Average,
@ -51,7 +51,7 @@ pub fn run() {
let mut arena = PlayerArena::new(vec);
arena.prop_arena(1000);
arena.prop_arena(100);
println!("{}", arena);
}

View File

@ -1,3 +1,4 @@
use elo::run;
use game::Game;
use logic::{ChildrenEvalMethod, FutureMoveConfig};
use repr::Piece;
@ -12,8 +13,8 @@ pub mod repr;
// TODO! make this agent configuration a config option via `clap-rs`
fn main() {
// run();
// return;
run();
return;
let player1 = complexagent::ComplexAgent::new(
Piece::Black,
FutureMoveConfig {
@ -21,7 +22,7 @@ fn main() {
min_arena_depth: 14,
top_k_children: 2,
up_to_minus: 10,
max_arena_size: 50_000_000,
max_arena_size: 100_000_000,
do_not_prune: false,
print: true,
children_eval_method: ChildrenEvalMethod::Max,