
O - Object typeD - Distance typepublic interface IndexBasedSimilarityFunction<O,D extends Distance<D>> extends SimilarityFunction<O,D>
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | IndexBasedSimilarityFunction.Instance<T,I extends Index,D extends Distance<D>>Instance interface for index/preprocessor based distance functions. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends O>  | instantiate(Relation<T> database)Preprocess the database to get the actual distance function. | 
getDistanceFactory, getInputTypeRestriction, isSymmetric<T extends O> IndexBasedSimilarityFunction.Instance<T,?,D> instantiate(Relation<T> database)
instantiate in interface SimilarityFunction<O,D extends Distance<D>>database -