| Package | Description |
|---|---|
| org.openimaj.feature | |
| org.openimaj.knn |
| Modifier and Type | Class and Description |
|---|---|
class |
LongFVComparison
Comparison/distance methods for LongFV objects.
|
| Modifier and Type | Field and Description |
|---|---|
protected LongFVComparator |
LongNearestNeighboursExact.distance |
| Modifier and Type | Method and Description |
|---|---|
static double |
LongNearestNeighbours.distanceFunc(LongFVComparator distance,
long[] qu,
long[] pnt)
Static method to find a distance between
a query vector and a point.
|
static void |
LongNearestNeighbours.distanceFunc(LongFVComparator distance,
long[] qu,
long[][] pnts,
double[] dsq_out)
Static method to find a distance between
a query vector and each of a set of points.
|
| Constructor and Description |
|---|
LongNearestNeighboursExact.Factory(LongFVComparator distance)
Construct the factory with the given distance function
for the produced LongNearestNeighbours instances.
|
LongNearestNeighboursExact(long[][] pnts,
LongFVComparator distance)
Construct the LongNearestNeighboursExact over the provided
dataset with the given distance function.
|