libgrape-lite
A C++ library for parallel graph processing
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
grape::SinglePHFView< Hasher > Struct Template Reference

Public Member Functions

template<typename T >
uint64_t operator() (T const &key) const
 
uint64_t position (typename Hasher::hash_type hash) const
 
template<typename Loader >
void load (Loader &loader)
 

Static Public Member Functions

template<typename Iterator , typename Dumper >
static void build (Iterator keys, uint64_t n, Dumper &dumper, int thread_num)
 
template<typename Iterator >
static void build (Iterator keys, uint64_t n, pthash::single_phf< murmurhasher, pthash::dictionary_dictionary, true > &phf, int thread_num)
 

Private Attributes

uint64_t m_seed
 
uint64_t m_num_keys
 
uint64_t m_table_size
 
__uint128_t m_M
 
pthash::skew_bucketer m_bucketer
 
dual_dictionary_view m_pilots
 
ef_sequence_view m_free_slots