Class AWeightedTrigometricDistance

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getA()
      Getter for the a parameter.
      double getAlpha()
      Getter for the alpha value.
      double getB()
      Getter for the a parameter.
      void setAlpha​(double alpha)
      Sets the alpha value and adjusts the measurement parameters a = cos(alpha) and b = sin(alpha) accordingly.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AWeightedTrigometricDistance

        public AWeightedTrigometricDistance​(double alpha)
    • Method Detail

      • setAlpha

        public void setAlpha​(double alpha)
        Sets the alpha value and adjusts the measurement parameters a = cos(alpha) and b = sin(alpha) accordingly.
        Parameters:
        alpha - The alpha value, 0 <= alpha <= pi/2.
      • getAlpha

        public double getAlpha()
        Getter for the alpha value. It holds, that 0 <= alpha <= pi/2.
      • getA

        public double getA()
        Getter for the a parameter. @see #a
      • getB

        public double getB()
        Getter for the a parameter. @see #b