Class GeoGreatEllipticMeasure

  • All Implemented Interfaces:
    IMeasure, ISpaceMeasure

    @Deprecated
    public class GeoGreatEllipticMeasure
    extends ASpaceMeasure
    Deprecated.
    implementation of https://en.wikipedia.org/wiki/Vincenty's_formulae Solve the inverse problem on the ellipsoid using a great elliptic section The inverse problem is: Given latitudes and longitudes of P1 and P2 on the ellipsoid compute the azimuth a_12 of the great elliptic section P1 P2 and the arc length s of the great elliptic curve. With the ellipsoid constants a, f, e^2 and e'^2
    Author:
    Mohamed Sherif (sherif@informatik.uni-leipzig.de)
    • Constructor Detail

      • GeoGreatEllipticMeasure

        public GeoGreatEllipticMeasure()
        Deprecated.
    • Method Detail

      • getDistanceInDegrees

        public static double getDistanceInDegrees​(Point x,
                                                  Point y)
        Deprecated.
        Computes and returns distance between two points.
        Parameters:
        x - , first point
        y - , second point
        Returns:
        the distance between x and y
      • getDistanceInDegrees

        public static double getDistanceInDegrees​(double lat1,
                                                  double long1,
                                                  double lat2,
                                                  double long2)
        Deprecated.
        Computes the distance between two points on earth Input latitudes/longitudes by converting their latitude and longitude into radians.
        Parameters:
        lat1 - , Latitude of first point
        long1 - , Longitude of first point
        lat2 - , Latitude of second point
        long2 - , Longitude of second point
        Returns:
        Distance between both points
      • getDistance

        public static double getDistance​(double lat1,
                                         double long1,
                                         double lat2,
                                         double long2)
        Deprecated.
        Computes the distance between two points on earth Input latitudes/longitudes are in Radians
        Parameters:
        lat1 - , Latitude of first point
        long1 - , Longitude of first point
        lat2 - , Latitude of second point
        long2 - , Longitude of second point
        Returns:
        Distance between both points
      • getThreshold

        public double getThreshold​(int dimension,
                                   double simThreshold)
        Deprecated.
      • getSimilarity

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

        public double getSimilarity​(Instance instance1,
                                    Instance instance2,
                                    String property1,
                                    String property2)
        Deprecated.
        Description copied from interface: IMeasure
        Returns the similarity between two instances, given their corresponding properties.
        Parameters:
        instance1 - , the source instance
        instance2 - , the target instance
        property1 - , the source property
        property2 - , the target property
        Returns:
        The similarity of the instances
      • getRuntimeApproximation

        public double getRuntimeApproximation​(double mappingSize)
        Deprecated.
        Description copied from interface: IMeasure
        Returns the runtime approximation of a measure.
        Parameters:
        mappingSize - , the mapping size returned by the measure
        Returns:
        The runtime of the measure
      • getName

        public String getName()
        Deprecated.
        Description copied from interface: IMeasure
        Returns name of a measure.
        Returns:
        Measure name as a string
      • getType

        public String getType()
        Deprecated.
        Description copied from interface: IMeasure
        Returns type of a measure.
        Returns:
        The runtime of the measure