public abstract class AbstractKernel
extends java.lang.Object
AbstractKernel directly.
ContinousKernel is the super class of all continuous kernels.
All continuous kernels should extend ContinuousKernel.
DiscreteKernel is the super class of all discrete kernels.
All discrete kernels should extend DiscreteKernel.
ContinuousKernel,
DiscreteKernel| Constructor and Description |
|---|
AbstractKernel() |
| Modifier and Type | Method and Description |
|---|---|
abstract double[] |
applyTo(double[] theArray)
Deprecated.
|
abstract double[] |
applyTo(double[] theArray,
int theDelay)
Apply the kernel to the specified array, with the specified delay.
|
abstract java.lang.String |
getGuiText()
Deprecated.
|
abstract boolean |
getHasDelay()
Deprecated.
|
abstract boolean |
getHasOOBP()
Deprecated.
|
abstract boolean |
getHasWidth()
Deprecated.
|
abstract int |
getNrExtraFields()
Deprecated.
|
abstract java.lang.String |
getShortText()
Deprecated.
|
abstract java.lang.String |
toString()
Returns the
String representation of the kernel. |
@Deprecated public abstract double[] applyTo(double[] theArray)
In general, for kernels for which getHasWidth() returns
true, the application of the kernel to the head and
tail of the input array is undefined.
This method will fill in the values for which this condition
applies by using the OutOfBoundsPolicy set for the kernel.
theArray - The array to apply the kernel to.double[] with the result.public abstract double[] applyTo(double[] theArray,
int theDelay)
The delay may be 0, positive or negative.
For a delay of 0 the values in the return array map
directly to the input array.
For a positive delay of n the values in the input array
are 'shifted' n indices to the right.
For a negative delay this 'shift' is to the left.
In general, for kernels for which getHasWidth() returns
true, the application of the kernel to the head and
tail of the input array is undefined.
This method will fill in the values for which this condition
applies by using the OutOfBoundsPolicy set for the kernel.
theArray - The array to apply the kernel to.theDelay - The delay to use.double[] with the result.@Deprecated public abstract java.lang.String getGuiText()
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.
String.@Deprecated public abstract java.lang.String getShortText()
String indicative of the class name.@Deprecated public abstract boolean getHasWidth()
This is true for a DiscreteKernel, and
false for a ContinuousKernel.
true iff the kernel has a width,
false otherwise.ContinuousKernel,
DiscreteKernel@Deprecated public abstract boolean getHasOOBP()
OutOfBoundsPolicy.
This is true for a DiscreteKernel, and
false for a ContinuousKernel.
true iff the kernel has an out of
bounds policy, false otherwise.OutOfBoundsPolicy,
ContinuousKernel,
DiscreteKernel@Deprecated public abstract boolean getHasDelay()
This is true for almost all kernels, but not for
MovingAverage.
true iff a delay can be set for the
kernel, false otherwise.@Deprecated public abstract int getNrExtraFields()
Extra fields hold kernel specific configuration settings, not shared with other kernels.
public abstract java.lang.String toString()
String representation of the kernel.toString in class java.lang.ObjectString representation of the kernel.