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

public enum SimilarHierarchyFilterApproach extends Enum<SimilarHierarchyFilterApproach>
Enum for choosing the approach in SimilarHierarchyFilter.
  • Enum Constant Details

    • ABSOLUTE_MATCHES

      public static final SimilarHierarchyFilterApproach ABSOLUTE_MATCHES
      Absolute matches in the hierarchy independent where it appears in the hierarchy.
    • DEPTH_DEPENDEND_MATCHES

      public static final SimilarHierarchyFilterApproach DEPTH_DEPENDEND_MATCHES
      Average of the lowest match in both hierarchies (depth of match in the hierarchy / maximum depth of the hierarchy). The lower position in the hierarchy, the higher the confidence. Computed by simple breath first search. Fast, but may not yield good results.
    • HIERARCHY_LEVEL_DEPENDED_MATCHES

      public static final SimilarHierarchyFilterApproach HIERARCHY_LEVEL_DEPENDED_MATCHES
      Average of the lowest match in both hierarchies: The lower position in the hierarchy, the higher the confidence. Computed by the Agony class. May yield better results than DEPTH_DEPENDEND_MATCHES but is slower.
  • Constructor Details

    • SimilarHierarchyFilterApproach

      private SimilarHierarchyFilterApproach()
  • Method Details

    • values

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