hash_function for l_p distance for p in range (0,2]
More...
#include <lsh_functions.hpp>
|
using | r_param_t = boost::numeric::ublas::vector< FloatType > |
|
template<typename FloatType = double>
class paal::lsh::l_p_hash_function< FloatType >
hash_function for l_p distance for p in range (0,2]
Definition at line 143 of file lsh_functions.hpp.
template<typename FloatType = double>
constructor
- Parameters
-
r | r elements has to be generated by p-stable distribution |
b | b is a random value from [0, w) |
w | w should be much greater than expected points neighborhood radius |
Definition at line 170 of file lsh_functions.hpp.
template<typename FloatType = double>
template<typename Range >
operator()
- Template Parameters
-
- Parameters
-
range | Range modeling boost uBLAS VectorExpression concept |
- Returns
Definition at line 194 of file lsh_functions.hpp.
The documentation for this class was generated from the following file: