pub struct RankerConfig {
pub prior_alpha: f64,
pub prior_beta: f64,
pub lambda: f64,
pub hysteresis: f64,
pub voi_weight: f64,
}Expand description
Configuration for the hint ranker.
Fields§
§prior_alpha: f64Prior α for Beta(α, β). Default: 1.0.
prior_beta: f64Prior β for Beta(α, β). Default: 1.0.
lambda: f64Space pressure λ: weight of display cost. Default: 0.01.
hysteresis: f64Hysteresis margin ε. Default: 0.02.
voi_weight: f64VOI exploration weight (0 = pure exploitation). Default: 0.1.
Trait Implementations§
Source§impl Clone for RankerConfig
impl Clone for RankerConfig
Source§fn clone(&self) -> RankerConfig
fn clone(&self) -> RankerConfig
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 RankerConfig
impl Debug for RankerConfig
Auto Trait Implementations§
impl Freeze for RankerConfig
impl RefUnwindSafe for RankerConfig
impl Send for RankerConfig
impl Sync for RankerConfig
impl Unpin for RankerConfig
impl UnsafeUnpin for RankerConfig
impl UnwindSafe for RankerConfig
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