Class DistanceCalculator

java.lang.Object
de.uni_trier.wi2.procake.similarity.base.impl.distance.DistanceCalculator
Direct Known Subclasses:
ChronologicDistanceCalculator, ChronologicIntervalDistanceCalculator, EnumerationDistanceCalculator, NumericDistanceCalculator, NumericIntervalDistanceCalculator, StringIntervalDistanceCalculator

public abstract class DistanceCalculator extends Object
This class calculates the distance between two value and the maximum distance for this class
Author:
Rainer Maximini
  • Constructor Details

    • DistanceCalculator

      protected DistanceCalculator(DataClass dataClass)
  • Method Details

    • getDistanceCalculatorFor

      public static DistanceCalculator getDistanceCalculatorFor(DataClass dataClass)
    • getDataClass

      public DataClass getDataClass()
    • setDataClass

      protected void setDataClass(DataClass dataClass)
    • getDistance

      public abstract double getDistance(DataObject queryObject, DataObject caseObject)
    • getMaxDistance

      public abstract double getMaxDistance()