All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::lsh::l_p_hash_function_generator< FloatType, RandomEngine, Distribution > Class Template Reference

Factory class for l_p_hash_function. More...

#include <lsh_functions.hpp>

Public Member Functions

 l_p_hash_function_generator (std::size_t range_size, FloatType w, RandomEngine random_engine=RandomEngine{})
 constructor More...
 
l_p_hash_function< FloatType > operator() () const
 operator() More...
 

Detailed Description

template<typename FloatType = double, typename RandomEngine = std::default_random_engine, typename Distribution = std::normal_distribution<FloatType>>
class paal::lsh::l_p_hash_function_generator< FloatType, RandomEngine, Distribution >

Factory class for l_p_hash_function.

Definition at line 214 of file lsh_functions.hpp.

Constructor & Destructor Documentation

template<typename FloatType = double, typename RandomEngine = std::default_random_engine, typename Distribution = std::normal_distribution<FloatType>>
paal::lsh::l_p_hash_function_generator< FloatType, RandomEngine, Distribution >::l_p_hash_function_generator ( std::size_t  range_size,
FloatType  w,
RandomEngine  random_engine = RandomEngine{} 
)
inline

constructor

Parameters
range_size
w
random_engine

Definition at line 229 of file lsh_functions.hpp.

Member Function Documentation

template<typename FloatType = double, typename RandomEngine = std::default_random_engine, typename Distribution = std::normal_distribution<FloatType>>
l_p_hash_function<FloatType> paal::lsh::l_p_hash_function_generator< FloatType, RandomEngine, Distribution >::operator() ( ) const
inline

operator()

Returns
new l_p_hash_function

Definition at line 243 of file lsh_functions.hpp.


The documentation for this class was generated from the following file: