pub struct SelfPlayConfig {
pub games_per_iteration: usize,
pub max_moves_per_game: usize,
pub exploration_factor: f32,
pub min_confidence: f32,
pub use_opening_book: bool,
pub temperature: f32,
}Expand description
Self-play training configuration
Fields§
§games_per_iteration: usizeNumber of games to play per training iteration
max_moves_per_game: usizeMaximum moves per game (to prevent infinite games)
exploration_factor: f32Exploration factor for move selection (0.0 = greedy, 1.0 = random)
min_confidence: f32Minimum evaluation confidence to include position
use_opening_book: boolWhether to use opening book for game starts
temperature: f32Temperature for move selection (higher = more random)
Trait Implementations§
Source§impl Clone for SelfPlayConfig
impl Clone for SelfPlayConfig
Source§fn clone(&self) -> SelfPlayConfig
fn clone(&self) -> SelfPlayConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SelfPlayConfig
impl Debug for SelfPlayConfig
Auto Trait Implementations§
impl Freeze for SelfPlayConfig
impl RefUnwindSafe for SelfPlayConfig
impl Send for SelfPlayConfig
impl Sync for SelfPlayConfig
impl Unpin for SelfPlayConfig
impl UnwindSafe for SelfPlayConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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