Class DistanceCalculator
java.lang.Object
de.uni_trier.wi2.procake.similarity.base.impl.distance.DistanceCalculator
- Direct Known Subclasses:
ChronologicDistanceCalculator
,ChronologicIntervalDistanceCalculator
,EnumerationDistanceCalculator
,NumericDistanceCalculator
,NumericIntervalDistanceCalculator
,StringIntervalDistanceCalculator
This class calculates the distance between two value and the maximum distance for this class
- Author:
- Rainer Maximini
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract double
getDistance
(DataObject queryObject, DataObject caseObject) static DistanceCalculator
getDistanceCalculatorFor
(DataClass dataClass) abstract double
protected void
setDataClass
(DataClass dataClass)
-
Constructor Details
-
DistanceCalculator
-
-
Method Details
-
getDistanceCalculatorFor
-
getDataClass
-
setDataClass
-
getDistance
-
getMaxDistance
public abstract double getMaxDistance()
-