|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.leeds.ccg.andyt.grids.utilities.Kernel
public abstract class Kernel
Class of methods to do with kernels.
| Constructor Summary | |
|---|---|
Kernel()
|
|
| Method Summary | |
|---|---|
static double |
getAdaptiveKernelWeight(double distance,
double bandwidth,
double sumWeights,
int precision,
double weightIntersect,
double weightFactor)
Returns a double representing an adaptive kernel weight. |
static double[] |
getKernelParameters(AbstractGrid2DSquareCell grid2DSquareCell,
int cellDistance,
double distance,
double weightIntersect,
double weightFactor)
Returns double[] result of kernel parameters where: result[0] = The total sum of all the weights for a given kernel; result[1] = The total number of cells thats centroids are within distance of an arbitrary cell centroid of grid2DSquareCell. |
static double |
getKernelVolume(double bandwidth,
int precision,
double weightIntersect,
double weightFactor)
Returns a double representing the kernel volume. |
static double |
getKernelWeight(double distance,
double weightIntersect,
double weightFactor,
double thisDistance)
Returns a double value for the height of a kernel at thisDistance from the centre of a kernel with; Bandwidth distance, weight at the centre of weightIntersect and distance decay of weightFactor. |
static double[][] |
getKernelWeights(AbstractGrid2DSquareCell grid2DSquareCell,
double distance,
double weightIntersect,
double weightFactor)
Returns a double[] of kernel weights. |
static double[] |
getKernelWeights(AbstractGrid2DSquareCell grid2DSquareCell,
long rowIndex,
long colIndex,
double distance,
double weightIntersect,
double weightFactor,
java.awt.geom.Point2D.Double[] points)
Returns a double[] of kernel weights. |
static double[] |
getKernelWeights(java.awt.geom.Point2D.Double centroid,
double distance,
double weightIntersect,
double weightFactor,
java.awt.geom.Point2D.Double[] points)
Returns double[] result of kernel weights. |
static double |
getNormalDistributionKernelWeight(double _Value,
double _Mean,
double _Variance)
|
static double[][] |
getNormalDistributionKernelWeights(AbstractGrid2DSquareCell _Grid2DSquareCell,
double _Distance)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Kernel()
| Method Detail |
|---|
public static double getNormalDistributionKernelWeight(double _Value,
double _Mean,
double _Variance)
_Value - _Mean - _Variance -
public static double[][] getNormalDistributionKernelWeights(AbstractGrid2DSquareCell _Grid2DSquareCell,
double _Distance)
_Grid2DSquareCell - _Distance -
public static double getKernelWeight(double distance,
double weightIntersect,
double weightFactor,
double thisDistance)
distance - weightIntersect - weightFactor - Warning: If weightfactor is < 1.0d strange things could be happening!!!!
public static double[][] getKernelWeights(AbstractGrid2DSquareCell grid2DSquareCell,
double distance,
double weightIntersect,
double weightFactor)
grid2DSquareCell - distance - weightIntersect - weightFactor -
public static double[] getKernelWeights(AbstractGrid2DSquareCell grid2DSquareCell,
long rowIndex,
long colIndex,
double distance,
double weightIntersect,
double weightFactor,
java.awt.geom.Point2D.Double[] points)
grid2DSquareCell - rowIndex - colIndex - distance - weightIntersect - weightFactor - points -
public static double[] getKernelWeights(java.awt.geom.Point2D.Double centroid,
double distance,
double weightIntersect,
double weightFactor,
java.awt.geom.Point2D.Double[] points)
centroid - distance - weightIntersect - weightFactor - points -
public static double[] getKernelParameters(AbstractGrid2DSquareCell grid2DSquareCell,
int cellDistance,
double distance,
double weightIntersect,
double weightFactor)
grid2DSquareCell - AbstractGrid2DSquareCell for which kernel parameters are returnedcellDistance - distance - weightIntersect - weightFactor -
public static double getAdaptiveKernelWeight(double distance,
double bandwidth,
double sumWeights,
int precision,
double weightIntersect,
double weightFactor)
distance - bandwidth - sumWeights - precision - weightIntersect - weightFactor -
public static double getKernelVolume(double bandwidth,
int precision,
double weightIntersect,
double weightFactor)
bandwidth - precision - weightIntersect - weightFactor -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||