Enum SimilarHierarchyFilterApproach
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
Enum for choosing the approach in
SimilarHierarchyFilter
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAbsolute matches in the hierarchy independent where it appears in the hierarchy.Average of the lowest match in both hierarchies (depth of match in the hierarchy / maximum depth of the hierarchy).Average of the lowest match in both hierarchies: The lower position in the hierarchy, the higher the confidence. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static SimilarHierarchyFilterApproach[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABSOLUTE_MATCHES
Absolute matches in the hierarchy independent where it appears in the hierarchy. -
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
Average of the lowest match in both hierarchies: The lower position in the hierarchy, the higher the confidence. Computed by theAgony
class. May yield better results than DEPTH_DEPENDEND_MATCHES but is slower.
-
-
Constructor Details
-
SimilarHierarchyFilterApproach
private SimilarHierarchyFilterApproach()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-