pub struct VoiPolicyConfig {Show 14 fields
pub alpha: f64,
pub prior_alpha: f64,
pub prior_beta: f64,
pub mu_0: f64,
pub lambda: f64,
pub value_scale: f64,
pub boundary_weight: f64,
pub sample_cost: f64,
pub min_interval_ms: u64,
pub max_interval_ms: u64,
pub min_interval_events: u64,
pub max_interval_events: u64,
pub enable_logging: bool,
pub max_log_entries: usize,
}Expand description
VOI (value-of-information) sampling policy parameters.
Fields§
§alpha: f64Significance level. Default: 0.05.
prior_alpha: f64Beta prior alpha. Default: 1.0.
prior_beta: f64Beta prior beta. Default: 1.0.
mu_0: f64Null hypothesis mean. Default: 0.05.
lambda: f64Likelihood ratio scale. Default: 0.5.
value_scale: f64Value scaling factor. Default: 1.0.
boundary_weight: f64Weight for decision boundary proximity. Default: 1.0.
sample_cost: f64Cost per sample. Default: 0.01.
min_interval_ms: u64Minimum interval between samples (ms). Default: 0.
max_interval_ms: u64Maximum interval between samples (ms). Default: 250.
min_interval_events: u64Minimum interval between samples (events). Default: 0.
max_interval_events: u64Maximum interval between samples (events). Default: 20.
enable_logging: boolEnable VOI debug logging. Default: false.
max_log_entries: usizeMaximum VOI log entries. Default: 2048.
Trait Implementations§
Source§impl Clone for VoiPolicyConfig
impl Clone for VoiPolicyConfig
Source§fn clone(&self) -> VoiPolicyConfig
fn clone(&self) -> VoiPolicyConfig
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 VoiPolicyConfig
impl Debug for VoiPolicyConfig
Auto Trait Implementations§
impl Freeze for VoiPolicyConfig
impl RefUnwindSafe for VoiPolicyConfig
impl Send for VoiPolicyConfig
impl Sync for VoiPolicyConfig
impl Unpin for VoiPolicyConfig
impl UnsafeUnpin for VoiPolicyConfig
impl UnwindSafe for VoiPolicyConfig
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