java.lang.Object
java.lang.Enum<SimInstanceMetric>
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.instancelevel.SimInstanceMetric
All Implemented Interfaces:
Serializable, Comparable<SimInstanceMetric>, java.lang.constant.Constable

public enum SimInstanceMetric extends Enum<SimInstanceMetric>
Similarity Metric which can be used for MatchClassBasedOnInstances
  • Enum Constant Details

    • BASE

      public static final SimInstanceMetric BASE
      matches two classes c1 and c2 if they share at least one already matches instance. Metric value is set to 1.
    • DICE

      public static final SimInstanceMetric DICE
      Value is computed by 2 x overlapping instances / ( instances of class 1 + instances of class 2). It determines the instance overlap w.r.t. to both concepts.
    • MIN

      public static final SimInstanceMetric MIN
      Value is computed by overlapping instances / min(instances of class 1, instances of class 2). It determines the relative instance overlap with respect to the smaller-sized concept.
    • MATCH_BASED

      public static final SimInstanceMetric MATCH_BASED
      Value is computed by overlapping instances / number of matched instances. This value also takes into account if the matcher does not match many instances.
  • Constructor Details

    • SimInstanceMetric

      private SimInstanceMetric()
  • Method Details

    • values

      public static SimInstanceMetric[] 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 SimInstanceMetric 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