[−][src]Struct rubot::alpha_beta::Action
A top level action.
Fields
fitness: T::Fitness
The current fitness of a given action.
This can mean one of the following things:
- For the best unfinished action, this is exact, but only for the current depth.
- For a terminated action, this is exact.
- For a partially terminated action, this is the upper limit.
path: Vec<T::Action>
The expected path taken during optimal play, when only inspectnig up to the current depth.
This used as a stack, with path.pop()
being the first action.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Action<T> where
<T as Game>::Action: RefUnwindSafe,
<T as Game>::Fitness: RefUnwindSafe,
<T as Game>::Action: RefUnwindSafe,
<T as Game>::Fitness: RefUnwindSafe,
impl<T> Send for Action<T> where
<T as Game>::Action: Send,
<T as Game>::Fitness: Send,
<T as Game>::Action: Send,
<T as Game>::Fitness: Send,
impl<T> Sync for Action<T> where
<T as Game>::Action: Sync,
<T as Game>::Fitness: Sync,
<T as Game>::Action: Sync,
<T as Game>::Fitness: Sync,
impl<T> Unpin for Action<T> where
<T as Game>::Action: Unpin,
<T as Game>::Fitness: Unpin,
<T as Game>::Action: Unpin,
<T as Game>::Fitness: Unpin,
impl<T> UnwindSafe for Action<T> where
<T as Game>::Action: UnwindSafe,
<T as Game>::Fitness: UnwindSafe,
<T as Game>::Action: UnwindSafe,
<T as Game>::Fitness: 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> Tap for 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>,