pub struct Selector {
pub exploration_rate: f32,
/* private fields */
}Expand description
Selector — scores eligible items, applies exploration noise, returns best.
Fields§
§exploration_rate: f32Fraction of noise added to score. 0.0 = deterministic. Default 0.05.
Implementations§
Source§impl Selector
impl Selector
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Selector
impl RefUnwindSafe for Selector
impl Send for Selector
impl Sync for Selector
impl Unpin for Selector
impl UnsafeUnpin for Selector
impl UnwindSafe for Selector
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