[][src]Struct mcts::MoveInfo

pub struct MoveInfo<Spec: MCTS> { /* fields omitted */ }

Methods

impl<Spec: MCTS> MoveInfo<Spec>[src]

pub fn get_move(&self) -> &Move<Spec>[src]

pub fn move_evaluation(&self) -> &MoveEvaluation<Spec>[src]

pub fn visits(&self) -> u64[src]

pub fn sum_rewards(&self) -> i64[src]

pub fn child(&self) -> Option<NodeHandle<Spec>>[src]

Trait Implementations

impl<Spec: MCTS> Drop for MoveInfo<Spec>[src]

impl<Spec: MCTS> Display for MoveInfo<Spec> where
    Move<Spec>: Display
[src]

impl<Spec: MCTS> Debug for MoveInfo<Spec> where
    Move<Spec>: Debug
[src]

Auto Trait Implementations

impl<Spec> Send for MoveInfo<Spec> where
    <<Spec as MCTS>::State as GameState>::Move: Send,
    <<Spec as MCTS>::TreePolicy as TreePolicy<Spec>>::MoveEvaluation: Send

impl<Spec> Sync for MoveInfo<Spec> where
    <<Spec as MCTS>::State as GameState>::Move: Sync,
    <<Spec as MCTS>::TreePolicy as TreePolicy<Spec>>::MoveEvaluation: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]