Class TriangularDiscriminationDistance

    • Constructor Detail

      • TriangularDiscriminationDistance

        @Deprecated
        public TriangularDiscriminationDistance()
        Deprecated.
        Use static instance!
        Constructor for the Triangular Discrimination - use STATIC instead.
    • Method Detail

      • isSquared

        public boolean isSquared()
        Description copied from interface: Distance
        Squared distances, that would become metric after square root.

        E.g. squared Euclidean.

        Specified by:
        isSquared in interface Distance<NumberVector>
        Returns:
        true when squared.
      • 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