public class MaxDivergenceTolerance extends QualityMeasure
Metric Formula:
Constructor and Description |
---|
MaxDivergenceTolerance(double absTol,
double relTol)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
distance(MultiTable.Block.Column x,
MultiTable.Block.Column y,
double defaultValue)
Returns the distance of the two vectors x and y with the given root.
|
distance, distance, getColumnDistances, getDefaultValue, getMaxAbsDistances, getMeanFunction, setDefaultValue, setMeanFunction
public MaxDivergenceTolerance(double absTol, double relTol)
MaxAbsDistance
and sets the absolute and
relative tolerances.absTol
- relTol
- public double distance(MultiTable.Block.Column x, MultiTable.Block.Column y, double defaultValue)
Double.NaN
values are also ignored.distance
in class QualityMeasure
x
- an arrayy
- another arraydefaultValue
- The value to be returned in cases in which no distance computation is
possible.Copyright © 2007–2021. All rights reserved.