Enum SemanticType
- java.lang.Object
-
- java.lang.Enum<SemanticType>
-
- org.aksw.limes.core.measures.measure.semantic.edgecounting.factory.SemanticType
-
- All Implemented Interfaces:
Serializable,Comparable<SemanticType>
public enum SemanticType extends Enum<SemanticType>
Implements the semantic measure type class. It includes all semantic measures included in LIMES.- Version:
- 1.0
- Author:
- Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LCHLISHORTEST_PATHWUPALMER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SemanticTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SemanticType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHORTEST_PATH
public static final SemanticType SHORTEST_PATH
-
LI
public static final SemanticType LI
-
LCH
public static final SemanticType LCH
-
WUPALMER
public static final SemanticType WUPALMER
-
-
Method Detail
-
values
public static SemanticType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SemanticType c : SemanticType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SemanticType 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 nameNullPointerException- if the argument is null
-
-