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, waitdistance, distance, distancedistanceprotected F extends DistanceFunction<? super O> parent
public Relation<? extends O> getRelation()
DistanceQuerygetRelation in interface DistanceQuery<O>public I getIndex()
IndexBasedDistanceFunction.InstancegetIndex in interface IndexBasedDistanceFunction.Instance<O,I extends Index>public F getDistanceFunction()
DistanceQuerygetDistanceFunction in interface DistanceQuery<O>Copyright © 2019 ELKI Development Team. License information.