O
- object typepublic class SharedNearestNeighborJaccardDistanceFunction<O> extends AbstractIndexBasedDistanceFunction<O,SharedNearestNeighborIndex<O>>
Modifier and Type | Class and Description |
---|---|
static class |
SharedNearestNeighborJaccardDistanceFunction.Instance<T>
Actual instance for a dataset.
|
static class |
SharedNearestNeighborJaccardDistanceFunction.Parameterizer<O>
Parameterization class.
|
indexFactory
INDEX_ID
Constructor and Description |
---|
SharedNearestNeighborJaccardDistanceFunction(SharedNearestNeighborIndex.Factory<O,SharedNearestNeighborIndex<O>> indexFactory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends O> |
instantiate(Relation<T> database)
Instantiate with a database to get the actual distance query.
|
getInputTypeRestriction, isMetric, isSymmetric
public SharedNearestNeighborJaccardDistanceFunction(SharedNearestNeighborIndex.Factory<O,SharedNearestNeighborIndex<O>> indexFactory)
indexFactory
- Index factory.public <T extends O> SharedNearestNeighborJaccardDistanceFunction.Instance<T> instantiate(Relation<T> database)
DistanceFunction
database
- The representation to useCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.