quadratic probing scheme: \(hash(k,i) = h(k)+\frac{1}{2}\cdot i+\frac{1}{2}\cdot i^2\) More...
Public Types | |
using | key_type = typename Hasher::key_type |
using | index_type = index_t |
using | tag = tags::probing_scheme |
Public Member Functions | |
__device__ | QuadraticProbing (index_type capacity, index_type probing_length, const cg::thread_block_tile< CGSize > &group) |
constructor More... | |
template<class T > | |
__device__ index_type | begin (T, T)=delete |
template<class T > | |
__device__ index_type | begin (T)=delete |
__device__ index_type | begin (key_type key, key_type seed=0) noexcept |
begin probing sequence More... | |
__device__ index_type | next () noexcept |
next probing index for key More... | |
Static Public Member Functions | |
static constexpr __host____device__ index_type | cg_size () noexcept |
get cooperative group size More... | |
static constexpr __device__ index_type | end () noexcept |
end specifier of probing sequence More... | |
quadratic probing scheme: \(hash(k,i) = h(k)+\frac{1}{2}\cdot i+\frac{1}{2}\cdot i^2\)
Hasher | hash function |
CGSize | cooperative group size |
Definition at line 218 of file probing_schemes.cuh.
using warpcore::probing_schemes::QuadraticProbing< Hasher, CGSize >::index_type = index_t |
Definition at line 226 of file probing_schemes.cuh.
using warpcore::probing_schemes::QuadraticProbing< Hasher, CGSize >::key_type = typename Hasher::key_type |
Definition at line 225 of file probing_schemes.cuh.
using warpcore::probing_schemes::QuadraticProbing< Hasher, CGSize >::tag = tags::probing_scheme |
Definition at line 227 of file probing_schemes.cuh.
|
inlineexplicit |
constructor
[in] | capacity | capacity of the underlying hash table |
[in] | probing_length | number of probing attempts |
[in] | group | cooperative group |
Definition at line 241 of file probing_schemes.cuh.
|
inlinenoexcept |
begin probing sequence
[in] | key | key to be probed |
[in] | seed | random seed |
key
Definition at line 264 of file probing_schemes.cuh.
|
inlinedelete |
|
inlinedelete |
|
inlinestaticconstexprnoexcept |
get cooperative group size
Definition at line 233 of file probing_schemes.cuh.
|
inlinestaticconstexprnoexcept |
end specifier of probing sequence
Definition at line 291 of file probing_schemes.cuh.
|
inlinenoexcept |
next probing index for key
Definition at line 278 of file probing_schemes.cuh.