Enum Class StatisticalDistance

java.lang.Object
java.lang.Enum<StatisticalDistance>
org.ddogleg.fitting.modelset.distance.StatisticalDistance
All Implemented Interfaces:
Serializable, Comparable<StatisticalDistance>, java.lang.constant.Constable

public enum StatisticalDistance extends Enum<StatisticalDistance>
  • Enum Constant Details

    • MEAN

      public static final StatisticalDistance MEAN
      Mean metric is used to evaluate goodness. Threshold is in standard deviations. 2
    • PERCENTILE

      public static final StatisticalDistance PERCENTILE
      Median is used to evaluate goodness. Threshold is fraction of points saved. 0.95
  • Method Details

    • values

      public static StatisticalDistance[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StatisticalDistance valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null