public enum QueryDistance extends Enum<QueryDistance>
| Enum Constant and Description |
|---|
J_S_DIVERGENCE_BITS
Jensen Shannon divergence, JSD(P||Q) measured in BITS
|
K_L_DIVERGENCE
Kullback-Leibler divergence, D(P||Q) where Q is calculated using Base Evidence (or no evidence), and P is calculated from the standard evidence.
|
NONE
No distance is calculated.
|
| Modifier and Type | Method and Description |
|---|---|
static QueryDistance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryDistance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryDistance NONE
public static final QueryDistance K_L_DIVERGENCE
public static final QueryDistance J_S_DIVERGENCE_BITS
public static QueryDistance[] values()
for (QueryDistance c : QueryDistance.values()) System.out.println(c);
public static QueryDistance 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 nullCopyright © 2021. All rights reserved.