摘要: public class BloomFilter { //种子个数 private int _seedcount ; //内存大小,单位bits private int _memsize; //不同哈希函数的种子,一般应取质数 private static List<int> seeds = new List<int>{ 5, 37, 73, 31, 17, 47, 67, 29, 13, 19, 89, 43, 7, 53, 41, 61, 23, 71, 11, 79, 83, 59, 97 }; private BitArray bits; //哈希函数对象 pr 阅读全文
posted @ 2012-09-18 11:02 doo 阅读(195) 评论(0) 推荐(0) 编辑