pub struct MidasRParams {
pub rows: Int,
pub buckets: Int,
pub m_value: Int,
pub alpha: Float,
}
Fields§
§rows: Int
Number of rows of buckets to use for internal Count-Min Sketches
buckets: Int
Number of buckets in each rows to use for internal Count-Min Sketches
m_value: Int
Value used internally in determining bucket placement. Might be made private in future version.
alpha: Float
Factor used to to decay current values when our inputs signal that time has ticked ahead.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MidasRParams
impl RefUnwindSafe for MidasRParams
impl Send for MidasRParams
impl Sync for MidasRParams
impl Unpin for MidasRParams
impl UnwindSafe for MidasRParams
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