|
libboxes
boxes is a set of specialised containers built on top of STL
|
Abstracts a Kirsch-Mitzenmacher hash family functor. More...
#include <hash_utils.hpp>
Public Member Functions | |
| KirschMitzenmacher (H1 h1, H2 h2, std::size_t k) | |
| Abstracts a Kirsch-Mitzenmacher hash family functor. More... | |
Abstracts a Kirsch-Mitzenmacher hash family functor.
Kirsh-Mitzenmacher introduces an optimisation where two independent hash functions can be used to generate k hash functions. More details available in paper: https://www.eecs.harvard.edu/~michaelm/postscripts/tr-02-05.pdf
| H1 | type of the first hash function |
| H2 | type of the second hash function |
Definition at line 159 of file hash_utils.hpp.
|
inlineexplicit |
Abstracts a Kirsch-Mitzenmacher hash family functor.
Kirsh-Mitzenmacher introduces an optimisation where two independent hash functions can be used to generate k hash functions. More details available in paper: https://www.eecs.harvard.edu/~michaelm/postscripts/tr-02-05.pdf
| h1 | first hash function instance |
| h2 | second hash function instance |
| k | number of hash functions to emulate |
Definition at line 172 of file hash_utils.hpp.