The default hash policy.
More...
#include <hash.h>
List of all members.
Public Types |
typedef hasher::value_type | value_type |
typedef std::vector< value_type > | hash_vector |
Public Member Functions |
| default_hashing (unsigned k) |
unsigned | k () const |
template<typename T > |
hash_vector | hash (const T &x) const |
Private Types |
typedef Hasher | hasher |
typedef Seed | seed |
typedef std::vector< hasher > | hasher_vector |
Private Member Functions |
template<typename T > |
value_type | hash (unsigned i, const T &x) const |
Private Attributes |
hasher_vector | hashers_ |
Detailed Description
template<typename Hasher = basic_hasher, typename Seed = fixed_seed<42>>
class bf::default_hashing< Hasher, Seed >
The default hash policy.
- Template Parameters:
-
Hasher | An unary functor that computes the underlying hash value. |
Seed | The seed for the hasher. |
Definition at line 184 of file hash.h.
The documentation for this class was generated from the following file: