
O - object typepublic class SharedNearestNeighborJaccardDistanceFunction<O> extends AbstractIndexBasedDistanceFunction<O,SharedNearestNeighborIndex<O>,DoubleDistance>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SharedNearestNeighborJaccardDistanceFunction.Instance<T>
Actual instance for a dataset. 
 | 
static class  | 
SharedNearestNeighborJaccardDistanceFunction.Parameterizer<O>
Parameterization class. 
 | 
indexFactoryINDEX_ID| Constructor and Description | 
|---|
SharedNearestNeighborJaccardDistanceFunction(SharedNearestNeighborIndex.Factory<O,SharedNearestNeighborIndex<O>> indexFactory)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DoubleDistance | 
getDistanceFactory()
Method to get the distance functions factory. 
 | 
<T extends O>  | 
instantiate(Relation<T> database)
Instantiate with a database to get the actual distance query. 
 | 
getInputTypeRestriction, isMetric, isSymmetricpublic SharedNearestNeighborJaccardDistanceFunction(SharedNearestNeighborIndex.Factory<O,SharedNearestNeighborIndex<O>> indexFactory)
indexFactory - Index factory.public <T extends O> SharedNearestNeighborJaccardDistanceFunction.Instance<T> instantiate(Relation<T> database)
DistanceFunctiondatabase - The representation to usepublic DoubleDistance getDistanceFactory()
DistanceFunctiongetDistanceFactory in interface DistanceFunction<O,DoubleDistance>getDistanceFactory in class AbstractDatabaseDistanceFunction<O,DoubleDistance>