Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.math.statistics
Enum KernelDensityEstimator.Kernel

java.lang.Object
  extended by java.lang.Enum<KernelDensityEstimator.Kernel>
      extended by de.lmu.ifi.dbs.elki.math.statistics.KernelDensityEstimator.Kernel
All Implemented Interfaces:
Serializable, Comparable<KernelDensityEstimator.Kernel>
Enclosing class:
KernelDensityEstimator

public static enum KernelDensityEstimator.Kernel
extends Enum<KernelDensityEstimator.Kernel>

Supported kernel functions


Enum Constant Summary
KERNEL_EPANECHNIKOV
          Epanechnikov Kernel
KERNEL_GAUSSIAN
          Gaussian Kernel
KERNEL_TRIANGLE
          Triangular Kernel
KERNEL_UNIFORM
          Uniform Kernel
 
Method Summary
static KernelDensityEstimator.Kernel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KernelDensityEstimator.Kernel[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

KERNEL_UNIFORM

public static final KernelDensityEstimator.Kernel KERNEL_UNIFORM
Uniform Kernel


KERNEL_TRIANGLE

public static final KernelDensityEstimator.Kernel KERNEL_TRIANGLE
Triangular Kernel


KERNEL_EPANECHNIKOV

public static final KernelDensityEstimator.Kernel KERNEL_EPANECHNIKOV
Epanechnikov Kernel


KERNEL_GAUSSIAN

public static final KernelDensityEstimator.Kernel KERNEL_GAUSSIAN
Gaussian Kernel

Method Detail

values

public static KernelDensityEstimator.Kernel[] 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 (KernelDensityEstimator.Kernel c : KernelDensityEstimator.Kernel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static KernelDensityEstimator.Kernel 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 name
NullPointerException - if the argument is null

Release 0.2 (2009-07-06_1820)