Class KullbackLeiblerDivergenceReverseAsymmetricDistance

    • Constructor Detail

      • KullbackLeiblerDivergenceReverseAsymmetricDistance

        @Deprecated
        public KullbackLeiblerDivergenceReverseAsymmetricDistance()
        Deprecated.
        Use static instance!
        Constructor for the Kullback-Leibler divergence.
    • Method Detail

      • distance

        public double distance​(NumberVector v1,
                               NumberVector v2)
        Description copied from interface: NumberVectorDistance
        Computes the distance between two given vectors according to this distance function.
        Parameters:
        v1 - first vector
        v2 - second vector
        Returns:
        the distance between two given vectors according to this distance function
      • isSymmetric

        public boolean isSymmetric()
        Description copied from interface: Distance
        Is this function symmetric?
        Returns:
        true when symmetric
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object