public class EarthMoversDistance extends Object implements DistanceMeasure
|Constructor and Description|
|Modifier and Type||Method and Description|
Compute the distance between two n-dimensional vectors.
public double compute(double a, double b) throws DimensionMismatchException
The two vectors are required to have the same dimension.
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.