Skip to content

Commit

Permalink
Update mcts.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
row454 authored Sep 26, 2024
1 parent 1e61379 commit 1c5093e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ai/mcts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub fn mcts(starting_board: &GameState, random_count: u32, thinking_time: Durati

}

const EXPLORATION_PARAMETER: f64 = 0.25f64; //SQRT_2;
const EXPLORATION_PARAMETER: f64 = SQRT_2;

fn mcts_iteration(mut game: GameState, node: &mut Node, random_count: u32) -> (i64, u64) {
let start = Instant::now();
Expand Down Expand Up @@ -143,4 +143,4 @@ fn mcts_iteration(mut game: GameState, node: &mut Node, random_count: u32) -> (i
}


}
}

0 comments on commit 1c5093e

Please sign in to comment.