Struct count_min_sketch::CountMinSketch8
[−]
[src]
pub struct CountMinSketch8<K> { /* fields omitted */ }
pub struct CountMinSketch8<K> { /* fields omitted */ }
impl<K> CountMinSketch8<K> where K: Hash
[src]fn new(capacity: usize, probability: f64, tolerance: f64) -> Result<Self, &'static str>
fn add<Q: ?Sized>(&mut self, key: &Q, value: u8) where Q: Hash, K: Borrow<Q>
fn increment<Q: ?Sized>(&mut self, key: &Q) where Q: Hash, K: Borrow<Q>
fn estimate<Q: ?Sized>(&self, key: &Q) -> u8 where Q: Hash, K: Borrow<Q>
fn estimate_memory(capacity: usize, probability: f64, tolerance: f64) -> Result<usize, &'static str>
fn clear(&mut self)
fn reset(&mut self)
fn reset_next(&mut self) -> Option<usize>