be.hogent.tarsos.util
Interface KernelDensityEstimate.Kernel

All Known Implementing Classes:
KernelDensityEstimate.GaussianKernel, KernelDensityEstimate.RectangularKernel
Enclosing class:
KernelDensityEstimate

public static interface KernelDensityEstimate.Kernel

Defines a kernel. It has a size and cached values for each index.

Author:
Joren Six

Method Summary
 int size()
          The size of the kernel.
 double value(int kernelIndex)
          Fetch the value for the kernel at a certain index.
 

Method Detail

value

double value(int kernelIndex)
Fetch the value for the kernel at a certain index.

Parameters:
kernelIndex - The index of the previously computed value.
Returns:
The cached value for a certain index.

size

int size()
The size of the kernel.

Returns:
The size of the kernel.