entrenar/search/mcts/search/stats.rs
1//! MCTS search statistics.
2
3/// Statistics from an MCTS search
4#[derive(Debug, Clone)]
5pub struct MctsStats {
6 /// Number of iterations performed
7 pub iterations: usize,
8 /// Total nodes in tree
9 pub tree_size: usize,
10 /// Maximum depth reached
11 pub max_depth: usize,
12 /// Average simulation length
13 pub avg_simulation_length: f64,
14 /// Root node visit count
15 pub root_visits: usize,
16}