pub struct VoiSamplerSnapshot {
pub captured_ms: u64,
pub alpha: f64,
pub beta: f64,
pub posterior_mean: f64,
pub posterior_variance: f64,
pub expected_variance_after: f64,
pub voi_gain: f64,
pub last_decision: Option<VoiDecision>,
pub last_observation: Option<VoiObservation>,
pub recent_logs: Vec<VoiLogEntry>,
}Expand description
Snapshot of VOI sampler state for debug overlays.
Fields§
§captured_ms: u64§alpha: f64§beta: f64§posterior_mean: f64§posterior_variance: f64§expected_variance_after: f64§voi_gain: f64§last_decision: Option<VoiDecision>§last_observation: Option<VoiObservation>§recent_logs: Vec<VoiLogEntry>Trait Implementations§
Source§impl Clone for VoiSamplerSnapshot
impl Clone for VoiSamplerSnapshot
Source§fn clone(&self) -> VoiSamplerSnapshot
fn clone(&self) -> VoiSamplerSnapshot
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 moreAuto Trait Implementations§
impl Freeze for VoiSamplerSnapshot
impl RefUnwindSafe for VoiSamplerSnapshot
impl Send for VoiSamplerSnapshot
impl Sync for VoiSamplerSnapshot
impl Unpin for VoiSamplerSnapshot
impl UnsafeUnpin for VoiSamplerSnapshot
impl UnwindSafe for VoiSamplerSnapshot
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