Enum PairwiseDistanceCalculator.PWD_DISTANCE_METHOD
- java.lang.Object
-
- java.lang.Enum<PairwiseDistanceCalculator.PWD_DISTANCE_METHOD>
-
- org.forester.evoinference.distance.PairwiseDistanceCalculator.PWD_DISTANCE_METHOD
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PairwiseDistanceCalculator.PWD_DISTANCE_METHOD>
- Enclosing class:
- PairwiseDistanceCalculator
public static enum PairwiseDistanceCalculator.PWD_DISTANCE_METHOD extends java.lang.Enum<PairwiseDistanceCalculator.PWD_DISTANCE_METHOD>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FRACTIONAL_DISSIMILARITY
KIMURA_DISTANCE
POISSON_DISTANCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PairwiseDistanceCalculator.PWD_DISTANCE_METHOD
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PairwiseDistanceCalculator.PWD_DISTANCE_METHOD[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KIMURA_DISTANCE
public static final PairwiseDistanceCalculator.PWD_DISTANCE_METHOD KIMURA_DISTANCE
-
POISSON_DISTANCE
public static final PairwiseDistanceCalculator.PWD_DISTANCE_METHOD POISSON_DISTANCE
-
FRACTIONAL_DISSIMILARITY
public static final PairwiseDistanceCalculator.PWD_DISTANCE_METHOD FRACTIONAL_DISSIMILARITY
-
-
Method Detail
-
values
public static PairwiseDistanceCalculator.PWD_DISTANCE_METHOD[] 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 (PairwiseDistanceCalculator.PWD_DISTANCE_METHOD c : PairwiseDistanceCalculator.PWD_DISTANCE_METHOD.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PairwiseDistanceCalculator.PWD_DISTANCE_METHOD valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-