O
- Object typeI
- Index typeF
- Distance function typepublic abstract static class AbstractIndexBasedDistanceFunction.Instance<O,I extends Index,F extends DistanceFunction<? super O>> extends java.lang.Object implements IndexBasedDistanceFunction.Instance<O,I>
Modifier and Type | Field and Description |
---|---|
protected I |
index
Index we use
|
protected F |
parent
Our parent distance function
|
protected Relation<O> |
relation
Relation to query.
|
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Constructor and Description |
---|
Instance(Relation<O> relation,
I index,
F parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
F |
getDistanceFunction()
Get the inner distance function.
|
I |
getIndex()
Get the index used.
|
Relation<? extends O> |
getRelation()
Access the underlying data query.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
distance, distance, distance
distance
protected F extends DistanceFunction<? super O> parent
public Relation<? extends O> getRelation()
DistanceQuery
getRelation
in interface DistanceQuery<O>
public I getIndex()
IndexBasedDistanceFunction.Instance
getIndex
in interface IndexBasedDistanceFunction.Instance<O,I extends Index>
public F getDistanceFunction()
DistanceQuery
getDistanceFunction
in interface DistanceQuery<O>
Copyright © 2019 ELKI Development Team. License information.