Interface LocalitySensitiveHashFunctionFamily<V>

    • Method Detail

      • getInputTypeRestriction

        TypeInformation getInputTypeRestriction()
        Get the input type information.
        Returns:
        Input type information.
      • generateHashFunctions

        java.util.ArrayList<? extends LocalitySensitiveHashFunction<? super V>> generateHashFunctions​(Relation<? extends V> relation,
                                                                                                      int l)
        Generate hash functions for the given relation.
        Parameters:
        relation - Relation to index
        l - Number of hash tables to use
        Returns:
        Family of hash functions
      • isCompatible

        boolean isCompatible​(Distance<?> df)
        Check whether the given distance function can be accelerated using this hash family.
        Parameters:
        df - Distance function.
        Returns:
        true when appropriate.