Class DistanceFunctionAbstract
Methods
Static
Readonly
CANBERRA
- CANBERRA(pointA, pointB): number
Parameters
- pointA: number[]
- pointB: number[]
Returns number
distance
Static
Readonly
CHEBYSHEV
- CHEBYSHEV(pointA, pointB): number
Parameters
- pointA: number[]
- pointB: number[]
Returns number
distance
Static
Readonly
EUCLIDEAN
- EUCLIDEAN(pointA, pointB): number
Parameters
- pointA: number[]
- pointB: number[]
Returns number
distance
Static
Readonly
MANHATTAN
- MANHATTAN(pointA, pointB): number
Parameters
- pointA: number[]
- pointB: number[]
Returns number
distance
Canberra distance function