Honeycomb
0.1
Component-Model Framework
|
Caches multiple hashes of an object. The key can be inserted into a bloom filter and tested very quickly. More...
#include <BloomFilter.h>
Public Member Functions | |
Key () | |
Key (szt elemCount, Double errorProb=0.01, const Alloc &a=Alloc()) | |
Same params as bloom filter, key will cache the required number of hashes. More... | |
bool | operator== (const Key &rhs) const |
void | hash (const T &obj) |
Generate and cache all the hashes for the object. More... | |
Public Attributes | |
vector< szt, Alloc > | hashes |
bloom_filter::hash< T > | hasher |
Caches multiple hashes of an object. The key can be inserted into a bloom filter and tested very quickly.
|
inline |
|
inline |
Same params as bloom filter, key will cache the required number of hashes.
|
inline |
Generate and cache all the hashes for the object.
|
inline |
bloom_filter::hash<T> honey::bloom_filter::Key< T, Alloc >::hasher |
vector<szt,Alloc> honey::bloom_filter::Key< T, Alloc >::hashes |