java.lang.Object
java.lang.Enum<ClusterDistance>
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.multisource.dispatchers.clustermerge.ClusterDistance
All Implemented Interfaces:
Serializable, Comparable<ClusterDistance>, java.lang.constant.Constable

public enum ClusterDistance extends Enum<ClusterDistance>
The distance measure to use for clustering. A good default is to use euclidean.
  • Enum Constant Details

    • EUCLIDEAN

      public static final ClusterDistance EUCLIDEAN
      Euclidean distance for double arrays.
    • SQUARED_EUCLIDEAN

      public static final ClusterDistance SQUARED_EUCLIDEAN
      Squared Euclidean distance. This results in the same rankings as regular Euclidean distance, but does not compute the square root (thus thus is a bit faster).
    • MANHATTAN

      public static final ClusterDistance MANHATTAN
      Manhattan distance for double arrays.
  • Constructor Details

    • ClusterDistance

      private ClusterDistance()
  • Method Details

    • values

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

      public static ClusterDistance valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null