29 #ifndef __MEM_RUBY_FILTERS_ABSTRACTBLOOMFILTER_HH__
30 #define __MEM_RUBY_FILTERS_ABSTRACTBLOOMFILTER_HH__
40 virtual void clear() = 0;
51 virtual void print(std::ostream& out)
const = 0;
58 #endif // __MEM_RUBY_FILTERS_ABSTRACTBLOOMFILTER_HH__
virtual int getCount(Addr addr)=0
virtual void unset(Addr addr)=0
virtual int readBit(const int index)=0
virtual void increment(Addr addr)=0
virtual void merge(AbstractBloomFilter *other_filter)=0
virtual bool isSet(Addr addr)=0
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual void writeBit(const int index, const int value)=0
virtual void print(std::ostream &out) const =0
virtual void decrement(Addr addr)=0
virtual int getTotalCount()=0
virtual int getIndex(Addr addr)=0
virtual ~AbstractBloomFilter()
virtual void set(Addr addr)=0