| Package | Description |
|---|---|
| de.javagl.nd.distance.tuples.d |
Different implementations of the
DistanceFunction
interface for DoubleTuple
instances. |
| de.javagl.nd.distance.tuples.i |
Different implementations of the
DistanceFunction
interface for IntTuple
instances. |
| de.javagl.nd.distance.tuples.j |
Different implementations of the
DistanceFunction
interface for LongTuple
instances. |
| Modifier and Type | Method and Description |
|---|---|
static DistanceFunction<DoubleTuple> |
DoubleTupleDistanceFunctions.angular()
Returns a
DistanceFunction that computes the
angular distance (that is, 1-c,
where c is the cosine similarity) |
static DistanceFunction<DoubleTuple> |
DoubleTupleDistanceFunctions.dynamicTimeWarping()
Returns a
DistanceFunction that computes the dynamic
time warping distance between two DoubleTuples |
static DistanceFunction<DoubleTuple> |
DoubleTupleDistanceFunctions.euclidean()
Returns a
DistanceFunction that computes the
Euclidean distance |
static DistanceFunction<DoubleTuple> |
DoubleTupleDistanceFunctions.euclideanSquared()
Returns a
DistanceFunction that computes the
squared Euclidean distance |
| Modifier and Type | Method and Description |
|---|---|
static DistanceFunction<IntTuple> |
IntTupleDistanceFunctions.chebyshev()
Returns a
DistanceFunction that computes the
Chebyshev distance |
static DistanceFunction<IntTuple> |
IntTupleDistanceFunctions.euclidean()
Returns a
DistanceFunction that computes the
Euclidean distance |
static DistanceFunction<IntTuple> |
IntTupleDistanceFunctions.euclideanSquared()
Returns a
DistanceFunction that computes the
squared Euclidean distance |
static DistanceFunction<IntTuple> |
IntTupleDistanceFunctions.manhattan()
Returns a
DistanceFunction that computes the
Manhattan distance |
static DistanceFunction<IntTuple> |
IntTupleDistanceFunctions.wrappedChebyshev(IntTuple size)
Returns a
DistanceFunction that computes the
Chebyshev distance of IntTuples when they are interpreted
as points on a sphere with the given size (that is, circumference). |
static DistanceFunction<IntTuple> |
IntTupleDistanceFunctions.wrappedEuclidean(IntTuple size)
Returns a
DistanceFunction that computes the
Euclidean distance of IntTuples when they are interpreted
as points on a sphere with the given size (that is, circumference). |
static DistanceFunction<IntTuple> |
IntTupleDistanceFunctions.wrappedEuclideanSquared(IntTuple size)
Returns a
DistanceFunction that computes the squared
Euclidean distance of IntTuples when they are interpreted
as points on a sphere with the given size (that is, circumference). |
static DistanceFunction<IntTuple> |
IntTupleDistanceFunctions.wrappedManhattan(IntTuple size)
Returns a
DistanceFunction that computes the
Manhattan distance of IntTuples when they are interpreted
as points on a sphere with the given size (that is, circumference). |
| Modifier and Type | Method and Description |
|---|---|
static DistanceFunction<LongTuple> |
LongTupleDistanceFunctions.chebyshev()
Returns a
DistanceFunction that computes the
Chebyshev distance |
static DistanceFunction<LongTuple> |
LongTupleDistanceFunctions.euclidean()
Returns a
DistanceFunction that computes the
Euclidean distance |
static DistanceFunction<LongTuple> |
LongTupleDistanceFunctions.euclideanSquared()
Returns a
DistanceFunction that computes the
squared Euclidean distance |
static DistanceFunction<LongTuple> |
LongTupleDistanceFunctions.manhattan()
Returns a
DistanceFunction that computes the
Manhattan distance |
static DistanceFunction<LongTuple> |
LongTupleDistanceFunctions.wrappedChebyshev(LongTuple size)
Returns a
DistanceFunction that computes the
Chebyshev distance of LongTuples when they are interpreted
as points on a sphere with the given size (that is, circumference). |
static DistanceFunction<LongTuple> |
LongTupleDistanceFunctions.wrappedEuclidean(LongTuple size)
Returns a
DistanceFunction that computes the
Euclidean distance of LongTuples when they are interpreted
as points on a sphere with the given size (that is, circumference). |
static DistanceFunction<LongTuple> |
LongTupleDistanceFunctions.wrappedEuclideanSquared(LongTuple size)
Returns a
DistanceFunction that computes the squared
Euclidean distance of LongTuples when they are interpreted
as points on a sphere with the given size (that is, circumference). |
static DistanceFunction<LongTuple> |
LongTupleDistanceFunctions.wrappedManhattan(LongTuple size)
Returns a
DistanceFunction that computes the
Manhattan distance of LongTuples when they are interpreted
as points on a sphere with the given size (that is, circumference). |
Copyright © 2015. All Rights Reserved.