public class Epanechnikov extends BasicKernel
1.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GUI_NAME |
static boolean |
HAS_DELAY |
static boolean |
HAS_OOBP |
static boolean |
HAS_WIDTH |
static int |
NR_EXTRA_FIELDS |
static java.lang.String |
SHORT_NAME |
DEFAULT_OOB_POLICY, DEFAULT_WIDTH| Constructor and Description |
|---|
Epanechnikov(int theWidth)
Constructs an Epanechnikov kernel.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCorrectionFactor()
Gets the correction factor used for this
Kernel. |
java.lang.String |
getGuiText()
Deprecated.
|
boolean |
getHasDelay()
Deprecated.
|
boolean |
getHasOOBP()
Deprecated.
|
boolean |
getHasWidth()
Deprecated.
|
int |
getNrExtraFields()
Deprecated.
|
java.lang.String |
getShortText()
Deprecated.
|
java.lang.String |
toString()
Returns the
String representation of this
Kernel. |
applyTo, applyTo, getInfo, getKernel, isValidWidth, setOutOfBoundsPolicy, setWidthpublic static final java.lang.String GUI_NAME
public static final java.lang.String SHORT_NAME
public static final boolean HAS_WIDTH
public static final boolean HAS_OOBP
public static final boolean HAS_DELAY
public static final int NR_EXTRA_FIELDS
public Epanechnikov(int theWidth)
theWidth - The width of the Kernel.public double getCorrectionFactor()
Kernel.
The correction factor is used to set the total area under the
distribution, as used by this Kernel, to
1.@Deprecated public java.lang.String getGuiText()
AbstractKernel
For most kernels this method returns the same result as a call to
kernel.class.getSimpleName().
For some, the returned String will include some
white spaces that beak up the various words, such that it forms
regular text.
getGuiText in class BasicKernelString.@Deprecated public java.lang.String getShortText()
AbstractKernelgetShortText in class BasicKernelString indicative of the class name.@Deprecated public boolean getHasWidth()
AbstractKernel
This is true for a DiscreteKernel, and
false for a ContinuousKernel.
getHasWidth in class BasicKerneltrue iff the kernel has a width,
false otherwise.ContinuousKernel,
DiscreteKernel@Deprecated public boolean getHasOOBP()
AbstractKernelOutOfBoundsPolicy.
This is true for a DiscreteKernel, and
false for a ContinuousKernel.
getHasOOBP in class BasicKerneltrue iff the kernel has an out of
bounds policy, false otherwise.OutOfBoundsPolicy,
ContinuousKernel,
DiscreteKernel@Deprecated public boolean getHasDelay()
AbstractKernel
This is true for almost all kernels, but not for
MovingAverage.
getHasDelay in class BasicKerneltrue iff a delay can be set for the
kernel, false otherwise.@Deprecated public int getNrExtraFields()
AbstractKernelExtra fields hold kernel specific configuration settings, not shared with other kernels.
getNrExtraFields in class BasicKernelpublic java.lang.String toString()
BasicKernelString representation of this
Kernel.
The items between the braces represent the width and
OutOfBoundsPolicy used for this Kernel.toString in class BasicKernelString representation of the kernel.