Beispiel #1
0
 public void Add(byte[] bytes, int count)
 {
     Hashes.Add(bytes, count);
     if (Topk != null)
     {
         long frequency = Hashes.EstimateCount(bytes);
         Topk.UpdateExpectIncreasing(bytes, frequency);
     }
 }
Beispiel #2
0
 public long Frequency(byte[] bytes)
 {
     return Hashes.EstimateCount(bytes);
 }