@Deprecated public class GeoGreatEllipticMeasure extends ASpaceMeasure
D2R, radius| Constructor and Description |
|---|
GeoGreatEllipticMeasure()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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.
|
static double |
getDistanceInDegrees(Point x,
Point y)
Deprecated.
Computes and returns distance between two points.
|
String |
getName()
Deprecated.
Returns name of a measure.
|
double |
getRuntimeApproximation(double mappingSize)
Deprecated.
Returns the runtime approximation of a measure.
|
double |
getSimilarity(Instance instance1,
Instance instance2,
String property1,
String property2)
Deprecated.
Returns the similarity between two instances, given their corresponding
properties.
|
double |
getSimilarity(Object object1,
Object object2)
Deprecated.
Returns the similarity between two objects.
|
double |
getThreshold(int dimension,
double simThreshold)
Deprecated.
|
String |
getType()
Deprecated.
Returns type of a measure.
|
setDimensionpublic static double getDistanceInDegrees(Point x, Point y)
x, - first pointy, - second pointpublic static double getDistanceInDegrees(double lat1,
double long1,
double lat2,
double long2)
lat1, - Latitude of first pointlong1, - Longitude of first pointlat2, - Latitude of second pointlong2, - Longitude of second pointpublic static double getDistance(double lat1,
double long1,
double lat2,
double long2)
lat1, - Latitude of first pointlong1, - Longitude of first pointlat2, - Latitude of second pointlong2, - Longitude of second pointpublic double getThreshold(int dimension,
double simThreshold)
public double getSimilarity(Object object1, Object object2)
IMeasurepublic double getSimilarity(Instance instance1, Instance instance2, String property1, String property2)
IMeasurepublic double getRuntimeApproximation(double mappingSize)
IMeasurepublic String getName()
IMeasureCopyright © 2018. All rights reserved.