public class LatLngDistanceFunction extends AbstractVectorDoubleDistanceFunction
Modifier and Type | Class and Description |
---|---|
static class |
LatLngDistanceFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static LatLngDistanceFunction |
STATIC
Static instance
|
Constructor and Description |
---|
LatLngDistanceFunction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
doubleDistance(NumberVector<?,?> o1,
NumberVector<?,?> o2)
Computes the distance between two given Objects according to this distance
function.
|
boolean |
equals(Object obj) |
SimpleTypeInformation<? super NumberVector<?,?>> |
getInputTypeRestriction()
Get the input data type of the function.
|
distance, getDistanceFactory
instantiate, isMetric, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instantiate, isMetric, isSymmetric
public static final LatLngDistanceFunction STATIC
@Deprecated public LatLngDistanceFunction()
public double doubleDistance(NumberVector<?,?> o1, NumberVector<?,?> o2)
PrimitiveDoubleDistanceFunction
o1
- first Objecto2
- second Objectpublic SimpleTypeInformation<? super NumberVector<?,?>> getInputTypeRestriction()
DistanceFunction
getInputTypeRestriction
in interface DistanceFunction<NumberVector<?,?>,DoubleDistance>
getInputTypeRestriction
in interface PrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>
getInputTypeRestriction
in class AbstractVectorDoubleDistanceFunction