29 #ifndef __MEM_RUBY_FILTERS_H3BLOOMFILTER_HH__
30 #define __MEM_RUBY_FILTERS_H3BLOOMFILTER_HH__
54 void print(std::ostream& out)
const;
58 void writeBit(
const int index,
const int value);
69 int hash_H3(uint64_t value,
int index);
86 #endif // __MEM_RUBY_FILTERS_H3BLOOMFILTER_HH__
int operator[](const int index) const
void merge(AbstractBloomFilter *other_filter)
void decrement(Addr addr)
H3BloomFilter(int size, int hashes, bool parallel)
int readBit(const int index)
int hash_H3(uint64_t value, int index)
void writeBit(const int index, const int value)
int m_par_filter_size_bits
void print(std::ostream &out) const
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
std::vector< int > m_filter
void increment(Addr addr)
int get_index(Addr addr, int hashNumber)