pub struct RankedRootMove {
pub mv: Move,
pub best_value: f64,
pub mean_value: f64,
pub win_probability: f64,
pub leaf_count: usize,
pub total_multiplicity: u64,
pub has_terminal_win: bool,
}Expand description
Aggregated beam-sampled statistics for one first move from the root.
These are optimistic, beam-sampled statistics computed over whichever
leaves this particular engine run happened to discover and keep — they
are not a minimax-proven guarantee. win_probability is a heuristic
rescaling of mean_value into [0, 1], not a calibrated probability.
Fields§
§mv: Move§best_value: f64Max leaf value via this move, root-player perspective.
mean_value: f64Multiplicity-weighted mean, root-player perspective.
win_probability: f64Heuristic rescaling: (mean_value + 1) / 2.
leaf_count: usizeNumber of collected leaves supporting this move.
total_multiplicity: u64Sum of multiplicity over supporting leaves.
has_terminal_win: boolA proven root-player-winning terminal exists via this move.
Trait Implementations§
Source§impl Clone for RankedRootMove
impl Clone for RankedRootMove
Source§fn clone(&self) -> RankedRootMove
fn clone(&self) -> RankedRootMove
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RankedRootMove
impl Debug for RankedRootMove
Source§impl PartialEq for RankedRootMove
impl PartialEq for RankedRootMove
impl StructuralPartialEq for RankedRootMove
Auto Trait Implementations§
impl Freeze for RankedRootMove
impl RefUnwindSafe for RankedRootMove
impl Send for RankedRootMove
impl Sync for RankedRootMove
impl Unpin for RankedRootMove
impl UnsafeUnpin for RankedRootMove
impl UnwindSafe for RankedRootMove
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more