Enum Constant and Description |
---|
BIWEIGHT |
COSINE |
EPANECHNIKOV |
GAUSSIAN |
OPTCOSINE |
RECTANGULAR |
TRIANGULAR |
Modifier and Type | Method and Description |
---|---|
double |
getFactor() |
double |
getKernelValue() |
double[] |
process(double bw,
double[] kords) |
static Kernel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Kernel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Kernel GAUSSIAN
public static final Kernel RECTANGULAR
public static final Kernel TRIANGULAR
public static final Kernel EPANECHNIKOV
public static final Kernel BIWEIGHT
public static final Kernel COSINE
public static final Kernel OPTCOSINE
public static Kernel[] values()
for (Kernel c : Kernel.values()) System.out.println(c);
public static Kernel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic double getKernelValue()
public double getFactor()
public double[] process(double bw, double[] kords)