fn value(&self) -> f64 {
        match self {
            PositionData::Internal(internal) => internal.prediction.value,
            PositionData::Leaf(value) => *value,
        }
    }
/// Get the predicted value of a position from the perspective of the active player.
/// For leaves, +1/-1/0 for win/loss/draw.
/// For internal nodes, this is the value network's prediction.
Get the predicted value of a position from the perspective of the active player.
For leaves, +1/-1/0 for win/loss/draw.
For internal nodes, this is the value network's prediction.
Get the predicted value of a position from the perspective of the active player . For leaves + 1 / - 1 / 0 for win / loss / draw . For internal nodes this is the value network ' s prediction .
fn value(&self) -> f64 {
        match self {
            PositionData::Internal(internal) => internal.prediction.value,
            PositionData::Leaf(value) => *value,
        }
    }
fn value ( & self ) -> f64 { match self { PositionData :: Internal ( internal ) => internal . prediction . value , PositionData :: Leaf ( value ) => * value , } }
Get the predicted value of a position from the perspective of the active player.
Get the predicted value of a position from the perspective of the active player .
&self
&self