O
- object typepublic class FractionalSharedNearestNeighborSimilarityFunction<O> extends AbstractIndexBasedSimilarityFunction<O,SharedNearestNeighborIndex.Factory<O>> implements NormalizedSimilarityFunction<O>
Modifier and Type | Class and Description |
---|---|
static class |
FractionalSharedNearestNeighborSimilarityFunction.Instance<T>
Actual instance for a dataset.
|
static class |
FractionalSharedNearestNeighborSimilarityFunction.Parameterizer<O>
Parameterization class.
|
indexFactory
Constructor and Description |
---|
FractionalSharedNearestNeighborSimilarityFunction(SharedNearestNeighborIndex.Factory<O> indexFactory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends O> |
instantiate(Relation<T> database)
Preprocess the database to get the actual distance function.
|
getInputTypeRestriction, isSymmetric
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputTypeRestriction, isSymmetric
public FractionalSharedNearestNeighborSimilarityFunction(SharedNearestNeighborIndex.Factory<O> indexFactory)
indexFactory
- Index factory.public <T extends O> FractionalSharedNearestNeighborSimilarityFunction.Instance<T> instantiate(Relation<T> database)
IndexBasedSimilarityFunction
instantiate
in interface IndexBasedSimilarityFunction<O>
instantiate
in interface SimilarityFunction<O>
instantiate
in class AbstractIndexBasedSimilarityFunction<O,SharedNearestNeighborIndex.Factory<O>>
database
- Representation to useCopyright © 2019 ELKI Development Team. License information.