pub struct EntropyModel {
pub level: f64,
pub accumulated: f64,
pub time_since_actual: u64,
}Expand description
Entropy model - tracks uncertainty/divergence
Fields§
§level: f64Current entropy level (0.0 = certain, 1.0 = maximum uncertainty)
accumulated: f64Accumulated entropy from predictions
time_since_actual: u64Time since last actual data
Implementations§
Trait Implementations§
Source§impl Clone for EntropyModel
impl Clone for EntropyModel
Source§fn clone(&self) -> EntropyModel
fn clone(&self) -> EntropyModel
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 EntropyModel
impl Debug for EntropyModel
Source§impl Default for EntropyModel
impl Default for EntropyModel
Source§fn default() -> EntropyModel
fn default() -> EntropyModel
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EntropyModel
impl RefUnwindSafe for EntropyModel
impl Send for EntropyModel
impl Sync for EntropyModel
impl Unpin for EntropyModel
impl UnwindSafe for EntropyModel
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