[−][src]Struct oxymcts::MctsNode
Fields
sum_rewards: Reward
n_visits: Nat
unvisited_moves: Vec<Move>
All the moves who don't have a node. at the creation this list contains all the legals moves from the state.
hash: u64
state: T
additional_info: AdditionalInfo
Implementations
impl<T, Move, Reward, AdditionalInfo> MctsNode<T, Move, Reward, AdditionalInfo> where
Reward: Clone,
T: Clone,
Move: Clone,
AdditionalInfo: Clone + Default,
[src]
Reward: Clone,
T: Clone,
Move: Clone,
AdditionalInfo: Clone + Default,
Trait Implementations
impl<T: Clone, Move: Clone, Reward: Clone, AdditionalInfo: Clone> Clone for MctsNode<T, Move, Reward, AdditionalInfo> where
Reward: Clone,
T: Clone,
Move: Clone,
AdditionalInfo: Clone + Default,
[src]
Reward: Clone,
T: Clone,
Move: Clone,
AdditionalInfo: Clone + Default,
fn clone(&self) -> MctsNode<T, Move, Reward, AdditionalInfo>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T, M, R, A> Debug for MctsNode<T, M, R, A> where
R: Clone + Add + Div + ToPrimitive + Zero,
T: Clone,
M: Clone,
A: Clone + Default,
[src]
R: Clone + Add + Div + ToPrimitive + Zero,
T: Clone,
M: Clone,
A: Clone + Default,
impl<T, M, R, A> Deref for MctsNode<T, M, R, A> where
R: Clone + Add + Div + ToPrimitive + Zero,
T: Clone + GameTrait,
M: Clone,
A: Clone + Default,
[src]
R: Clone + Add + Div + ToPrimitive + Zero,
T: Clone + GameTrait,
M: Clone,
A: Clone + Default,
impl<T, M, R, A> DerefMut for MctsNode<T, M, R, A> where
R: Clone + Add + Div + Zero + ToPrimitive,
T: Clone + GameTrait,
M: Clone,
A: Clone + Default,
[src]
R: Clone + Add + Div + Zero + ToPrimitive,
T: Clone + GameTrait,
M: Clone,
A: Clone + Default,
impl<T, M, R, A> PartialEq<MctsNode<T, M, R, A>> for MctsNode<T, M, R, A> where
R: Clone + Add + Div + Zero + ToPrimitive,
T: Clone,
M: Clone,
A: Clone + Default,
[src]
R: Clone + Add + Div + Zero + ToPrimitive,
T: Clone,
M: Clone,
A: Clone + Default,
Unstable
Auto Trait Implementations
impl<T, Move, Reward, AdditionalInfo> RefUnwindSafe for MctsNode<T, Move, Reward, AdditionalInfo> where
AdditionalInfo: RefUnwindSafe,
Move: RefUnwindSafe,
Reward: RefUnwindSafe,
T: RefUnwindSafe,
AdditionalInfo: RefUnwindSafe,
Move: RefUnwindSafe,
Reward: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, Move, Reward, AdditionalInfo> Send for MctsNode<T, Move, Reward, AdditionalInfo> where
AdditionalInfo: Send,
Move: Send,
Reward: Send,
T: Send,
AdditionalInfo: Send,
Move: Send,
Reward: Send,
T: Send,
impl<T, Move, Reward, AdditionalInfo> Sync for MctsNode<T, Move, Reward, AdditionalInfo> where
AdditionalInfo: Sync,
Move: Sync,
Reward: Sync,
T: Sync,
AdditionalInfo: Sync,
Move: Sync,
Reward: Sync,
T: Sync,
impl<T, Move, Reward, AdditionalInfo> Unpin for MctsNode<T, Move, Reward, AdditionalInfo> where
AdditionalInfo: Unpin,
Move: Unpin,
Reward: Unpin,
T: Unpin,
AdditionalInfo: Unpin,
Move: Unpin,
Reward: Unpin,
T: Unpin,
impl<T, Move, Reward, AdditionalInfo> UnwindSafe for MctsNode<T, Move, Reward, AdditionalInfo> where
AdditionalInfo: UnwindSafe,
Move: UnwindSafe,
Reward: UnwindSafe,
T: UnwindSafe,
AdditionalInfo: UnwindSafe,
Move: UnwindSafe,
Reward: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,