Interface SMNumericExponential

  • All Superinterfaces:
    SimilarityMeasure, SMNumeric
    All Known Implementing Classes:
    SMNumericExponentialImpl

    public interface SMNumericExponential
    extends SMNumeric
    Another possibility to describe the similarity between two numeric values is by an exponential function. The semantics of such a similarity function is that little differences between the two values cause a big decrease of similarity. The larger the parameter $\alpha$ the faster is the decrease.
    • Method Detail

      • getAlpha

        double getAlpha()
        Alpha should be greater 1, e.g., 5.
        Returns:
        the alpha value
      • setAlpha

        void setAlpha​(double alpha)
        Alpha is necessary for exponential function
        Parameters:
        alpha - must be greater zero