Interface LocalitySensitiveHashFunction<V>

    • Method Detail

      • hashObject

        int hashObject​(V obj)
        Compute the hash value of an object.
        Parameters:
        obj - Object to hash
        Returns:
        Hash value
      • hashObject

        int hashObject​(V obj,
                       double[] buf)
        Compute the hash value of an object (faster version).
        Parameters:
        obj - Object to hash
        buf - Buffer, sized according to the number of projections.
        Returns:
        Hash value
      • getNumberOfProjections

        int getNumberOfProjections()
        Get the number of projections performed.
        Returns:
        Number of projections.