public class WeightedDistanceFunction extends SimpleDistanceFunction
Constructor and Description |
---|
WeightedDistanceFunction(double weightLogLog,
double weightLogModel,
double weightModelModel) |
Modifier and Type | Method and Description |
---|---|
double |
getFinalDistance(Distance dist)
Computes some (weighted) average of the individual distance components.
|
java.lang.String |
getName() |
getModelLogDistance
public WeightedDistanceFunction(double weightLogLog, double weightLogModel, double weightModelModel)
public double getFinalDistance(Distance dist)
DistanceFunction
getFinalDistance
in interface DistanceFunction
getFinalDistance
in class SimpleDistanceFunction
dist
- Distance object containing all dimensions of distances between log and modelpublic java.lang.String getName()