Catalano.Math.Distances
Class IntersectionDistance
- java.lang.Object
-
- Catalano.Math.Distances.IntersectionDistance
-
- All Implemented Interfaces:
- IDistance<double[]>, IDivergence<double[]>, java.io.Serializable
public class IntersectionDistance extends java.lang.Object implements IDistance<double[]>
Intersection distance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description IntersectionDistance()Initializes a new instance of the IntersectionDistance class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleCompute(double[] u, double[] v)Compute the distance between the vectors.
-
-
-
Constructor Detail
-
IntersectionDistance
public IntersectionDistance()
Initializes a new instance of the IntersectionDistance class.
-
-
Method Detail
-
Compute
public double Compute(double[] u, double[] v)Description copied from interface:IDivergenceCompute the distance between the vectors.- Specified by:
Computein interfaceIDistance<double[]>- Specified by:
Computein interfaceIDivergence<double[]>- Parameters:
u- Vector.v- Vector.- Returns:
- Distance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG