Class APointsetsMeasure

    • Field Detail

      • USE_GREAT_ELLIPTIC_DISTANCE

        public static boolean USE_GREAT_ELLIPTIC_DISTANCE
      • computations

        protected static int computations
    • Constructor Detail

      • APointsetsMeasure

        public APointsetsMeasure()
    • Method Detail

      • pointToPointDistance

        public static double pointToPointDistance​(Point x,
                                                  Point y)
        Parameters:
        x - Point x
        y - Point y
        Returns:
        Point-to-point distance between x and y
      • getSimilarity

        public double getSimilarity​(Object object1,
                                    Object object2)
        Description copied from interface: IMeasure
        Returns the similarity between two objects.
        Specified by:
        getSimilarity in interface IMeasure
        Parameters:
        object1 - , the source object
        object2 - , the target object
        Returns:
        The similarity of the objects