Interface DistanceFunction<DATA>

  • Type Parameters:
    DATA - The type of the data objects.

    public interface DistanceFunction<DATA>
    An object that can calculate the distance between two data objects.
    • Method Detail

      • calculate

        double calculate​(DATA data1,
                         DATA data2)