pub fn reinit(&mut self) {
        let size = self.hsketch.len();
        let large:f64 = size as f64 * size as f64;
        for i in 0..size {
            self.hsketch[i] = large;
            self.q[i] = -1;
            self.p[i] = 0;
            self.b[i] = 0;
        }
        self.b[size-1] = size as i64;
        self.item_rank = 0;
    }
/// Reinitialize minhasher, keeping size of sketches.  
/// SuperMinHash can then be reinitialized and used again with sketch_slice.
/// This methods puts an end to a streaming sketching of data and resets all counters.
Reinitialize minhasher, keeping size of sketches.
SuperMinHash can then be reinitialized and used again with sketch_slice.
This methods puts an end to a streaming sketching of data and resets all counters.
Reinitialize minhasher keeping size of sketches . SuperMinHash can then be reinitialized and used again with sketch_slice . This methods puts an end to a streaming sketching of data and resets all counters .
pub fn reinit(&mut self) {
        let size = self.hsketch.len();
        let large:f64 = size as f64 * size as f64;
        for i in 0..size {
            self.hsketch[i] = large;
            self.q[i] = -1;
            self.p[i] = 0;
            self.b[i] = 0;
        }
        self.b[size-1] = size as i64;
        self.item_rank = 0;
    }
pub fn reinit ( & mut self ) { let size = self . hsketch . len ( ) ; let large : f64 = size as f64 * size as f64 ; for i in 0 .. size { self . hsketch [ i ] = large ; self . q [ i ] = - 1 ; self . p [ i ] = 0 ; self . b [ i ] = 0 ; } self . b [ size - 1 ] = size as i64 ; self . item_rank = 0 ; }
Reinitialize minhasher, keeping size of sketches.
Reinitialize minhasher keeping size of sketches .
&mut self