Package elki.index
Interface SimilarityIndex<O>
-
- Type Parameters:
O
- Object type
- All Superinterfaces:
Index
- All Known Implementing Classes:
PrecomputedSimilarityMatrix
public interface SimilarityIndex<O> extends Index
Index with support for similarity queries (e.g., precomputed similarity matrixes, caches)- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SimilarityQuery<O>
getSimilarityQuery(Similarity<? super O> simFunction)
Get a similarity query object for the given similarity function.-
Methods inherited from interface elki.index.Index
initialize, logStatistics
-
-
-
-
Method Detail
-
getSimilarityQuery
SimilarityQuery<O> getSimilarityQuery(Similarity<? super O> simFunction)
Get a similarity query object for the given similarity function.- Parameters:
simFunction
- Similarity function to use.- Returns:
- similarity query object or
null
-
-