public class NNCalc
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
AssumeSorted |
DblMatrix |
Distances |
int[] |
Indices |
int |
K |
java.lang.String |
Method |
DblMatrix |
NearestDistances |
DblMatrix[] |
NearestXData |
Qdecomp |
QTree |
DblMatrix[] |
XData |
Constructor and Description |
---|
NNCalc(DblMatrix[] XData)
DblMatrix constructor.
|
Modifier and Type | Method and Description |
---|---|
DblSort |
getKNearest(DblMatrix[] refpt)
Get the K-nearest neighbors about the Ith coordinate.
|
void |
setK(int newK)
Set the neighborhood size.
|
void |
setMethod(java.lang.String method)
Set the nearest-neighbor search algorithm.
|
public boolean AssumeSorted
public java.lang.String Method
public int K
public DblMatrix[] XData
public Qdecomp QTree
public DblMatrix[] NearestXData
public DblMatrix NearestDistances
public int[] Indices
public DblMatrix Distances
public NNCalc(DblMatrix[] XData)
Copyright © 2011, 2013. Daniel P. Dougherty