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