public class NNearestNeighborInterpolation extends Interpolation
限定符和类型 | 类和说明 |
---|---|
static class |
NNearestNeighborInterpolation.Weighted
the method of weighted
DISTANCE_WEIGHTED, ARITHMETIC_AVERAGE |
限定符和类型 | 字段和说明 |
---|---|
private int |
n |
private NNearestNeighborInterpolation.Weighted |
weighted |
attributesNumber, method
构造器和说明 |
---|
NNearestNeighborInterpolation(int n,
NNearestNeighborInterpolation.Weighted weighted) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getAttributeName(int index)
get attribute name by the order of index
|
java.lang.String |
getAttributeValue(int index)
get attribute value by the order of index
|
int |
getN() |
NNearestNeighborInterpolation.Weighted |
getWeighted() |
equals, getAttributesNumber, getMethod, hashCode, toString
private int n
private NNearestNeighborInterpolation.Weighted weighted
public NNearestNeighborInterpolation(int n, NNearestNeighborInterpolation.Weighted weighted) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public int getN()
public NNearestNeighborInterpolation.Weighted getWeighted()
NNearestNeighborInterpolation.Weighted
indicating method of weightedpublic java.lang.String getAttributeName(int index)
getAttributeName
在类中 Interpolation
index
- the order of attributes on the panelpublic java.lang.String getAttributeValue(int index)
getAttributeValue
在类中 Interpolation
index
- the order of attributes on the panel