pub enum VoiLedgerEntry {
Decision {
event_idx: u64,
should_sample: bool,
voi_gain: f64,
log_bayes_factor: f64,
},
Observation {
sample_idx: u64,
violated: bool,
posterior_mean: f64,
},
}Expand description
Ledger entries for the VOI debug overlay.
Variants§
Trait Implementations§
Source§impl Clone for VoiLedgerEntry
impl Clone for VoiLedgerEntry
Source§fn clone(&self) -> VoiLedgerEntry
fn clone(&self) -> VoiLedgerEntry
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 VoiLedgerEntry
impl RefUnwindSafe for VoiLedgerEntry
impl Send for VoiLedgerEntry
impl Sync for VoiLedgerEntry
impl Unpin for VoiLedgerEntry
impl UnsafeUnpin for VoiLedgerEntry
impl UnwindSafe for VoiLedgerEntry
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