pub struct SelectorConfig {
pub exploration_factor: f32,
pub initial_value: f32,
pub min_samples: usize,
}Fields§
§exploration_factor: f32UCB exploration constant (typically sqrt(2))
initial_value: f32Optimistic initialization value
min_samples: usizeMinimum samples before exploitation
Trait Implementations§
Source§impl Clone for SelectorConfig
impl Clone for SelectorConfig
Source§fn clone(&self) -> SelectorConfig
fn clone(&self) -> SelectorConfig
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 SelectorConfig
impl Debug for SelectorConfig
Auto Trait Implementations§
impl Freeze for SelectorConfig
impl RefUnwindSafe for SelectorConfig
impl Send for SelectorConfig
impl Sync for SelectorConfig
impl Unpin for SelectorConfig
impl UnsafeUnpin for SelectorConfig
impl UnwindSafe for SelectorConfig
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