Class GeoOrthodromicMeasure

  • All Implemented Interfaces:
    IMeasure, ISpaceMeasure

    @Deprecated
    public class GeoOrthodromicMeasure
    extends ASpaceMeasure
    Deprecated.
    Computes a similarity based on the geo distance of two points. Assumes that the input consists of latitute and longitude of two points. The similarity is computed as 1/(1+d) where d is the distance between the two points.
    Author:
    Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de)
    • Constructor Detail

      • GeoOrthodromicMeasure

        public GeoOrthodromicMeasure()
        Deprecated.
    • Method Detail

      • 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
      • distance

        public static double distance​(double lat1,
                                      double lon1,
                                      double lat2,
                                      double lon2)
        Deprecated.
      • getType

        public String getType()
        Deprecated.
        Description copied from interface: IMeasure
        Returns type of a measure.
        Returns:
        The runtime of the measure
      • 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
      • getName

        public String getName()
        Deprecated.
        Description copied from interface: IMeasure
        Returns name of a measure.
        Returns:
        Measure name as a string
      • 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