[][src]Struct ggpf::policies::mcts::MCTSTreeNode

pub struct MCTSTreeNode<G, MCTS> where
    G: MCTSGame,
    MCTS: BaseMCTSPolicy<G>, 
{ pub parent: MCTSNodeParent<G, MCTS>, pub moves: HashMap<G::Move, MCTSNodeChild<G, MCTS>>, pub info: MCTSNode<G, MCTS>, }

MCTS tree node.

Fields

parent: MCTSNodeParent<G, MCTS>

Node parent

moves: HashMap<G::Move, MCTSNodeChild<G, MCTS>>

List of explored children

info: MCTSNode<G, MCTS>

Node information

Trait Implementations

impl<G: Clone, MCTS: Clone> Clone for MCTSTreeNode<G, MCTS> where
    G: MCTSGame,
    MCTS: BaseMCTSPolicy<G>,
    G::Move: Clone
[src]

impl<G, MCTS> Debug for MCTSTreeNode<G, MCTS> where
    G: MCTSGame,
    MCTS: BaseMCTSPolicy<G>, 
[src]

Auto Trait Implementations

impl<G, MCTS> RefUnwindSafe for MCTSTreeNode<G, MCTS> where
    G: RefUnwindSafe,
    <G as Base>::Move: RefUnwindSafe,
    <MCTS as BaseMCTSPolicy<G>>::MoveInfo: RefUnwindSafe,
    <MCTS as BaseMCTSPolicy<G>>::NodeInfo: RefUnwindSafe

impl<G, MCTS> Send for MCTSTreeNode<G, MCTS> where
    <G as Base>::Move: Send + Sync,
    <MCTS as BaseMCTSPolicy<G>>::MoveInfo: Send + Sync,
    <MCTS as BaseMCTSPolicy<G>>::NodeInfo: Send + Sync

impl<G, MCTS> Sync for MCTSTreeNode<G, MCTS> where
    <G as Base>::Move: Send + Sync,
    <MCTS as BaseMCTSPolicy<G>>::MoveInfo: Send + Sync,
    <MCTS as BaseMCTSPolicy<G>>::NodeInfo: Send + Sync

impl<G, MCTS> Unpin for MCTSTreeNode<G, MCTS> where
    G: Unpin,
    <G as Base>::Move: Unpin,
    <MCTS as BaseMCTSPolicy<G>>::MoveInfo: Unpin,
    <MCTS as BaseMCTSPolicy<G>>::NodeInfo: Unpin

impl<G, MCTS> UnwindSafe for MCTSTreeNode<G, MCTS> where
    G: UnwindSafe,
    <G as Base>::Move: UnwindSafe,
    <MCTS as BaseMCTSPolicy<G>>::MoveInfo: UnwindSafe,
    <MCTS as BaseMCTSPolicy<G>>::NodeInfo: UnwindSafe

Blanket Implementations

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

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

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

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T

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

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> With for T