Interface DatabaseDistanceQuery<O>

    • Method Detail

      • distance

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

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

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