Interface ItemDistance

    • Method Detail

      • distance

        double distance​(ItemBoundable item1,
                        ItemBoundable item2)
        Computes the distance between two items.
        Parameters:
        item1 -
        item2 -
        Returns:
        the distance between the items
        Throws:
        java.lang.IllegalArgumentException - if the metric is not applicable to the arguments