|
libBf 0.1
|
A hash policy that implements extended double hashing. More...
#include <hash.h>

Public Types | |
|
typedef std::function < value_type(unsigned)> | functor_type |
Public Member Functions | |
| extended_double_hashing (unsigned k, functor_type f) | |
Protected Member Functions | |
| value_type | hash (unsigned i, value_type h1, value_type h2) const |
Private Types | |
|
typedef double_hashing< Hasher, Seed1, Seed2 > | base |
| typedef base::value_type | value_type |
Private Attributes | |
| functor_type | f_ |
A hash policy that implements extended double hashing.
| Hasher | An unary functor that computes the underlying hash value. |
| Seed1 | The seed for the first hasher. |
| Seed2 | The seed for the second hasher. |
1.7.3