fn average_value(&self) -> f64 {
        if self.visits == 0 {
            0.0
        } else {
            self.total_value / (self.visits as f64)
        }
    }
/// Compute the average action-value from the perspective of the active player.
Compute the average action-value from the perspective of the active player.
Compute the average action - value from the perspective of the active player .
fn average_value(&self) -> f64 {
        if self.visits == 0 {
            0.0
        } else {
            self.total_value / (self.visits as f64)
        }
    }
fn average_value ( & self ) -> f64 { if self . visits == 0 { 0.0 } else { self . total_value / ( self . visits as f64 ) } }
Compute the average action-value from the perspective of the active player.
Compute the average action - value from the perspective of the active player .
&self
&self