public static enum GreedyEnsembleExperiment.Distance extends Enum<GreedyEnsembleExperiment.Distance>
Enum Constant and Description |
---|
EUCLIDEAN |
MANHATTAN |
PEARSON |
SQEUCLIDEAN |
Modifier and Type | Method and Description |
---|---|
static GreedyEnsembleExperiment.Distance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GreedyEnsembleExperiment.Distance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GreedyEnsembleExperiment.Distance PEARSON
public static final GreedyEnsembleExperiment.Distance SQEUCLIDEAN
public static final GreedyEnsembleExperiment.Distance EUCLIDEAN
public static final GreedyEnsembleExperiment.Distance MANHATTAN
public static GreedyEnsembleExperiment.Distance[] values()
for (GreedyEnsembleExperiment.Distance c : GreedyEnsembleExperiment.Distance.values()) System.out.println(c);
public static GreedyEnsembleExperiment.Distance valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null