All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::lsh::projection_hash_function< IntType > Class Template Reference

simple hash function More...

#include <lsh_functions.hpp>

Public Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 serialize
 
 projection_hash_function ()=default
 default constructor
 
 projection_hash_function (IntType chosen_position)
 constructor More...
 
bool operator== (projection_hash_function const &other) const
 operator==
 
template<typename Range >
auto operator() (Range &&range) const -> range_to_elem_t< decltype(range)>
 operator() More...
 

Detailed Description

template<typename IntType = std::size_t>
class paal::lsh::projection_hash_function< IntType >

simple hash function

Definition at line 51 of file lsh_functions.hpp.

Constructor & Destructor Documentation

template<typename IntType = std::size_t>
paal::lsh::projection_hash_function< IntType >::projection_hash_function ( IntType  chosen_position)
inline

constructor

Parameters
chosen_position

Definition at line 70 of file lsh_functions.hpp.

Member Function Documentation

template<typename IntType = std::size_t>
template<typename Range >
auto paal::lsh::projection_hash_function< IntType >::operator() ( Range &&  range) const -> range_to_elem_t<decltype(range)>
inline

operator()

Template Parameters
Range
Parameters
range
Returns

Definition at line 89 of file lsh_functions.hpp.


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