Interface DatabaseSimilarityQuery<O>

    • Method Detail

      • similarity

        default double similarity​(O o1,
                                  DBIDRef id2)
        Description copied from interface: SimilarityQuery
        Returns the similarity between the two objects specified by their object ids.
        Specified by:
        similarity in interface SimilarityQuery<O>
        Parameters:
        o1 - first object
        id2 - second object id
        Returns:
        the similarity between the two objects specified by their object ids
      • similarity

        default double similarity​(DBIDRef id1,
                                  O o2)
        Description copied from interface: SimilarityQuery
        Returns the similarity between the two objects specified by their object ids.
        Specified by:
        similarity in interface SimilarityQuery<O>
        Parameters:
        id1 - first object id
        o2 - second object
        Returns:
        the similarity between the two objects specified by their object ids
      • similarity

        default double similarity​(O o1,
                                  O o2)
        Description copied from interface: SimilarityQuery
        Returns the similarity between the two objects specified by their object ids.
        Specified by:
        similarity in interface SimilarityQuery<O>
        Parameters:
        o1 - first object
        o2 - second object
        Returns:
        the similarity between the two objects specified by their object ids