Enum SMNumeric.ZERO_OUT_STRATEGIES
- java.lang.Object
-
- java.lang.Enum<SMNumeric.ZERO_OUT_STRATEGIES>
-
- de.uni_trier.wi2.procake.similarity.base.numeric.SMNumeric.ZERO_OUT_STRATEGIES
-
- All Implemented Interfaces:
Serializable
,Comparable<SMNumeric.ZERO_OUT_STRATEGIES>
- Enclosing interface:
- SMNumeric
public static enum SMNumeric.ZERO_OUT_STRATEGIES extends Enum<SMNumeric.ZERO_OUT_STRATEGIES>
Possible definitions of asymmetric zero-out strategies
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CASEHIGHERTHANQUERY
if the case value is higher than the query value → sim = 0NONE
no asymmetric zero out will happenQUERYHIGHERTHANCASE
if the query value is higher than the case value → sim = 0
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SMNumeric.ZERO_OUT_STRATEGIES
valueOf(String name)
Returns the enum constant of this type with the specified name.static SMNumeric.ZERO_OUT_STRATEGIES[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SMNumeric.ZERO_OUT_STRATEGIES NONE
no asymmetric zero out will happen
-
CASEHIGHERTHANQUERY
public static final SMNumeric.ZERO_OUT_STRATEGIES CASEHIGHERTHANQUERY
if the case value is higher than the query value → sim = 0
-
QUERYHIGHERTHANCASE
public static final SMNumeric.ZERO_OUT_STRATEGIES QUERYHIGHERTHANCASE
if the query value is higher than the case value → sim = 0
-
-
Method Detail
-
values
public static SMNumeric.ZERO_OUT_STRATEGIES[] 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 (SMNumeric.ZERO_OUT_STRATEGIES c : SMNumeric.ZERO_OUT_STRATEGIES.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SMNumeric.ZERO_OUT_STRATEGIES 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
-
-