pub struct MinimaxConfig {
pub max_depth: u32,
pub time_limit_s: Option<f64>,
pub use_alpha_beta: bool,
pub use_transposition_table: bool,
pub dedup_children: bool,
pub eval_config: EvalConfig,
pub random_seed: Option<u64>,
}Expand description
Configuration for MinimaxEngine.
Fields§
§max_depth: u32§time_limit_s: Option<f64>§use_alpha_beta: bool§use_transposition_table: bool§dedup_children: bool§eval_config: EvalConfig§random_seed: Option<u64>Trait Implementations§
Source§impl Clone for MinimaxConfig
impl Clone for MinimaxConfig
Source§fn clone(&self) -> MinimaxConfig
fn clone(&self) -> MinimaxConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MinimaxConfig
impl Debug for MinimaxConfig
Auto Trait Implementations§
impl Freeze for MinimaxConfig
impl RefUnwindSafe for MinimaxConfig
impl Send for MinimaxConfig
impl Sync for MinimaxConfig
impl Unpin for MinimaxConfig
impl UnsafeUnpin for MinimaxConfig
impl UnwindSafe for MinimaxConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more