Uses of Interface
elki.distance.SpatialPrimitiveDistance
-
Packages that use SpatialPrimitiveDistance Package Description elki.algorithm Miscellaneous algorithms.elki.clustering.optics OPTICS family of clustering algorithms.elki.database.query.distance Prepared queries for distances.elki.distance Distance functions for use within ELKI.elki.distance.colorhistogram Distance functions for color histograms.elki.distance.geo Geographic (earth) distance functions.elki.distance.histogram Distance functions for one-dimensional histograms.elki.distance.minkowski Minkowski space Lp norms such as the popular Euclidean and Manhattan distances.elki.distance.probabilistic Distance from probability theory, mostly divergences such as K-L-divergence, J-divergence, F-divergence, χ²-divergence, etc.elki.distance.subspace Distance functions based on subspaces.elki.index.tree.spatial.rstarvariants.query Queries on the R-Tree family of indexes: kNN and range queries.elki.index.tree.spatial.rstarvariants.rdknn elki.index.tree.spatial.rstarvariants.strategies.reinsert Reinsertion strategies for R-trees.elki.similarity Similarity functions. -
-
Uses of SpatialPrimitiveDistance in elki.algorithm
Fields in elki.algorithm declared as SpatialPrimitiveDistance Modifier and Type Field Description protected SpatialPrimitiveDistance<?>
KNNJoin. distance
Distance function used.protected SpatialPrimitiveDistance<?>
KNNJoin.Par. distance
The distance function to use.Methods in elki.algorithm with parameters of type SpatialPrimitiveDistance Modifier and Type Method Description private java.util.List<KNNHeap>
KNNJoin. initHeaps(SpatialPrimitiveDistance<?> distFunction, AbstractRStarTreeNode<?,?> pr)
Initialize the heaps.private void
KNNJoin. processDataPages(SpatialPrimitiveDistance<?> df, java.util.List<KNNHeap> pr_heaps, java.util.List<KNNHeap> ps_heaps, AbstractRStarTreeNode<?,?> pr, AbstractRStarTreeNode<?,?> ps)
Processes the two data pages pr and ps and determines the k-nearest neighbors of pr in ps.Constructors in elki.algorithm with parameters of type SpatialPrimitiveDistance Constructor Description KNNJoin(SpatialPrimitiveDistance<?> distance, int k)
Constructor. -
Uses of SpatialPrimitiveDistance in elki.clustering.optics
Fields in elki.clustering.optics declared as SpatialPrimitiveDistance Modifier and Type Field Description protected SpatialPrimitiveDistance<? super V>
DeLiClu. distance
Distance function used.protected SpatialPrimitiveDistance<? super V>
DeLiClu.Par. distance
The distance function to use.Constructors in elki.clustering.optics with parameters of type SpatialPrimitiveDistance Constructor Description DeLiClu(DeLiCluTreeFactory<? super V> indexer, SpatialPrimitiveDistance<? super V> distance, int minpts)
Constructor. -
Uses of SpatialPrimitiveDistance in elki.database.query.distance
Fields in elki.database.query.distance declared as SpatialPrimitiveDistance Modifier and Type Field Description protected SpatialPrimitiveDistance<? super V>
SpatialPrimitiveDistanceQuery. distanceFunction
The distance function we use.Methods in elki.database.query.distance that return SpatialPrimitiveDistance Modifier and Type Method Description SpatialPrimitiveDistance<? super V>
SpatialDistanceQuery. getDistance()
Get the inner distance function.SpatialPrimitiveDistance<? super V>
SpatialPrimitiveDistanceQuery. getDistance()
Constructors in elki.database.query.distance with parameters of type SpatialPrimitiveDistance Constructor Description SpatialPrimitiveDistanceQuery(Relation<? extends V> relation, SpatialPrimitiveDistance<? super V> distanceFunction)
SpatialPrimitiveDistanceSimilarityQuery(Relation<? extends O> relation, SpatialPrimitiveDistance<? super O> distanceFunction, PrimitiveSimilarity<? super O> similarityFunction)
Constructor. -
Uses of SpatialPrimitiveDistance in elki.distance
Classes in elki.distance that implement SpatialPrimitiveDistance Modifier and Type Class Description class
ArcCosineDistance
Arcus cosine distance function for feature vectors.class
ArcCosineUnitlengthDistance
Arcus cosine distance function for feature vectors.class
BrayCurtisDistance
Bray-Curtis distance function / Sørensen–Dice coefficient for continuous vector spaces (not only binary data).class
CanberraDistance
Canberra distance function, a variation of Manhattan distance.class
ClarkDistance
Clark distance function for vector spaces.class
CosineDistance
Cosine distance function for feature vectors.class
CosineUnitlengthDistance
Cosine distance function for unit length feature vectors.class
SqrtCosineDistance
Cosine distance function for feature vectors using the square root.class
SqrtCosineUnitlengthDistance
Cosine distance function for unit length feature vectors using the square root.class
WeightedCanberraDistance
Weighted Canberra distance function, a variation of Manhattan distance. -
Uses of SpatialPrimitiveDistance in elki.distance.colorhistogram
Classes in elki.distance.colorhistogram that implement SpatialPrimitiveDistance Modifier and Type Class Description class
HistogramIntersectionDistance
Intersection distance for color histograms. -
Uses of SpatialPrimitiveDistance in elki.distance.geo
Classes in elki.distance.geo that implement SpatialPrimitiveDistance Modifier and Type Class Description class
DimensionSelectingLatLngDistance
Distance function for 2D vectors in Latitude, Longitude form.class
LatLngDistance
Distance function for 2D vectors in Latitude, Longitude form.class
LngLatDistance
Distance function for 2D vectors in Longitude, Latitude form. -
Uses of SpatialPrimitiveDistance in elki.distance.histogram
Classes in elki.distance.histogram that implement SpatialPrimitiveDistance Modifier and Type Class Description class
HistogramMatchDistance
Distance function based on histogram matching, i.e., Manhattan distance on the cumulative density function. -
Uses of SpatialPrimitiveDistance in elki.distance.minkowski
Classes in elki.distance.minkowski that implement SpatialPrimitiveDistance Modifier and Type Class Description class
EuclideanDistance
Euclidean distance forNumberVector
s.class
LPIntegerNormDistance
Lp-Norm forNumberVector
s, optimized version for integer values of p.class
LPNormDistance
Lp-Norm (Minkowski norms) are a family of distances forNumberVector
s.class
ManhattanDistance
Manhattan distance forNumberVector
s.class
MaximumDistance
Maximum distance forNumberVector
s.class
MinimumDistance
Minimum distance forNumberVector
s.class
SquaredEuclideanDistance
Squared Euclidean distance, optimized forSparseNumberVector
s.class
WeightedEuclideanDistance
Weighted Euclidean distance forNumberVector
s.class
WeightedLPNormDistance
Weighted version of the Minkowski Lp norm distance forNumberVector
.class
WeightedManhattanDistance
Weighted version of the Manhattan (L1) metric.class
WeightedMaximumDistance
Weighted version of the maximum distance function forNumberVector
s.class
WeightedSquaredEuclideanDistance
Weighted squared Euclidean distance forNumberVector
s. -
Uses of SpatialPrimitiveDistance in elki.distance.probabilistic
Classes in elki.distance.probabilistic that implement SpatialPrimitiveDistance Modifier and Type Class Description class
ChiDistance
χ distance function, symmetric version.class
ChiSquaredDistance
χ² distance function, symmetric version.class
FisherRaoDistance
Fisher-Rao riemannian metric for (discrete) probability distributions.class
HellingerDistance
Hellinger metric / affinity / kernel, Bhattacharyya coefficient, fidelity similarity, Matusita distance, Hellinger-Kakutani metric on a probability distribution.class
JeffreyDivergenceDistance
Jeffrey Divergence forNumberVector
s is a symmetric, smoothened version of theKullbackLeiblerDivergenceAsymmetricDistance
.class
JensenShannonDivergenceDistance
Jensen-Shannon Divergence forNumberVector
s is a symmetric, smoothened version of theKullbackLeiblerDivergenceAsymmetricDistance
.class
SqrtJensenShannonDivergenceDistance
The square root of Jensen-Shannon divergence is a metric.class
TriangularDiscriminationDistance
Triangular Discrimination has relatively tight upper and lower bounds to the Jensen-Shannon divergence, but is much less expensive.class
TriangularDistance
Triangular Distance has relatively tight upper and lower bounds to the (square root of the) Jensen-Shannon divergence, but is much less expensive. -
Uses of SpatialPrimitiveDistance in elki.distance.subspace
Classes in elki.distance.subspace that implement SpatialPrimitiveDistance Modifier and Type Class Description class
OnedimensionalDistance
Distance function that computes the distance between feature vectors as the absolute difference of their values in a specified dimension only.class
SubspaceEuclideanDistance
Euclidean distance function betweenNumberVector
s only in specified dimensions.class
SubspaceLPNormDistance
Lp-Norm distance function betweenNumberVector
s only in specified dimensions.class
SubspaceManhattanDistance
Manhattan distance function betweenNumberVector
s only in specified dimensions.class
SubspaceMaximumDistance
Maximum distance function betweenNumberVector
s only in specified dimensions. -
Uses of SpatialPrimitiveDistance in elki.index.tree.spatial.rstarvariants.query
Fields in elki.index.tree.spatial.rstarvariants.query declared as SpatialPrimitiveDistance Modifier and Type Field Description protected SpatialPrimitiveDistance<? super O>
RStarTreeDistancePrioritySearcher. distance
Spatial primitive distance function.protected SpatialPrimitiveDistance<? super O>
RStarTreeKNNSearcher. distance
Spatial primitive distance function.protected SpatialPrimitiveDistance<? super O>
RStarTreeRangeSearcher. distance
Spatial primitive distance functionConstructors in elki.index.tree.spatial.rstarvariants.query with parameters of type SpatialPrimitiveDistance Constructor Description RStarTreeDistancePrioritySearcher(AbstractRStarTree<?,?,?> tree, Relation<? extends O> relation, SpatialPrimitiveDistance<? super O> distance)
Constructor.RStarTreeKNNSearcher(AbstractRStarTree<?,?,?> tree, Relation<? extends O> relation, SpatialPrimitiveDistance<? super O> distance)
Constructor.RStarTreeRangeSearcher(AbstractRStarTree<?,?,?> tree, Relation<? extends O> relation, SpatialPrimitiveDistance<? super O> distance)
Constructor. -
Uses of SpatialPrimitiveDistance in elki.index.tree.spatial.rstarvariants.rdknn
Fields in elki.index.tree.spatial.rstarvariants.rdknn declared as SpatialPrimitiveDistance Modifier and Type Field Description (package private) SpatialPrimitiveDistance<NumberVector>
RdkNNSettings. distance
The distance function.Methods in elki.index.tree.spatial.rstarvariants.rdknn with parameters of type SpatialPrimitiveDistance Modifier and Type Method Description private void
RdKNNTree. checkDistance(SpatialPrimitiveDistance<? super O> distance)
Throws an IllegalArgumentException if the specified distance function is not an instance of the distance function used by this index.protected java.util.List<DoubleObjPair<RdKNNEntry>>
RdKNNTree. getSortedEntries(AbstractRStarTreeNode<?,?> node, SpatialComparable q, SpatialPrimitiveDistance<?> distance)
Sorts the entries of the specified node according to their minimum distance to the specified object.DoubleDBIDList
RdKNNTree. reverseKNNQuery(DBID oid, int k, SpatialPrimitiveDistance<? super O> distance)
Constructors in elki.index.tree.spatial.rstarvariants.rdknn with parameters of type SpatialPrimitiveDistance Constructor Description RdkNNSettings(int k_max, SpatialPrimitiveDistance<NumberVector> distance)
Constructor. -
Uses of SpatialPrimitiveDistance in elki.index.tree.spatial.rstarvariants.strategies.reinsert
Fields in elki.index.tree.spatial.rstarvariants.strategies.reinsert declared as SpatialPrimitiveDistance Modifier and Type Field Description (package private) SpatialPrimitiveDistance<?>
AbstractPartialReinsert. distance
Distance function to use for measuring(package private) SpatialPrimitiveDistance<?>
AbstractPartialReinsert.Par. distance
Distance function to use for measuringConstructors in elki.index.tree.spatial.rstarvariants.strategies.reinsert with parameters of type SpatialPrimitiveDistance Constructor Description AbstractPartialReinsert(double reinsertAmount, SpatialPrimitiveDistance<?> distance)
Constructor.CloseReinsert(double reinsertAmount, SpatialPrimitiveDistance<?> distance)
Constructor.FarReinsert(double reinsertAmount, SpatialPrimitiveDistance<?> distance)
Constructor. -
Uses of SpatialPrimitiveDistance in elki.similarity
Classes in elki.similarity that implement SpatialPrimitiveDistance Modifier and Type Class Description class
Kulczynski1Similarity
Kulczynski similarity 1.
-