| Package | Description |
|---|---|
| org.tinspin.index | |
| org.tinspin.index.covertree | |
| org.tinspin.index.kdtree |
| Modifier and Type | Field and Description |
|---|---|
static PointDistanceFunction |
PointDistanceFunction.L1
L1/Manhattan/taxi distance.
|
static PointDistanceFunction |
PointDistanceFunction.L2
L2/Euclidean distance.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
PointDistanceFunction.getName(PointDistanceFunction fn) |
| Modifier and Type | Method and Description |
|---|---|
static <T> CoverTree<T> |
CoverTree.create(int nDims,
double base,
PointDistanceFunction dist) |
static <T> CoverTree<T> |
CoverTree.create(Point<T>[] data,
double base,
PointDistanceFunction distFn) |
void |
CoverTreeQueryKnn.reset(double[] center,
int k,
PointDistanceFunction dist) |
| Constructor and Description |
|---|
CoverTreeQueryKnn(CoverTree<T> tree,
double[] center,
int k,
PointDistanceFunction dist) |
| Modifier and Type | Method and Description |
|---|---|
static <T> KDTree<T> |
KDTree.create(int dims,
PointDistanceFunction dist) |
Copyright © 2018. All rights reserved.