pub enum AIAlgorithm {
Greedy,
Expectimax,
MCTS,
}
Expand description
AI algorithm types
Variants§
Greedy
Simple greedy algorithm
Expectimax
Expectimax algorithm with limited depth
MCTS
Monte Carlo Tree Search
Trait Implementations§
Source§impl Clone for AIAlgorithm
impl Clone for AIAlgorithm
Source§fn clone(&self) -> AIAlgorithm
fn clone(&self) -> AIAlgorithm
Returns a duplicate of the value. Read more
1.0.0 · 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 AIAlgorithm
impl Debug for AIAlgorithm
Source§impl PartialEq for AIAlgorithm
impl PartialEq for AIAlgorithm
impl Copy for AIAlgorithm
impl Eq for AIAlgorithm
impl StructuralPartialEq for AIAlgorithm
Auto Trait Implementations§
impl Freeze for AIAlgorithm
impl RefUnwindSafe for AIAlgorithm
impl Send for AIAlgorithm
impl Sync for AIAlgorithm
impl Unpin for AIAlgorithm
impl UnwindSafe for AIAlgorithm
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