
O - Object typeI - Index typeD - Distance typeF - Distance function typepublic abstract static class AbstractIndexBasedDistanceFunction.Instance<O,I extends Index,D extends Distance<D>,F extends DistanceFunction<? super O,D>> extends AbstractDatabaseDistanceQuery<O,D> implements IndexBasedDistanceFunction.Instance<O,I,D>
| Modifier and Type | Field and Description |
|---|---|
protected I |
index
Index we use
|
protected F |
parent
Our parent distance function
|
relationHINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE| Constructor and Description |
|---|
AbstractIndexBasedDistanceFunction.Instance(Relation<O> database,
I index,
F parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
F |
getDistanceFunction()
Get the inner distance function.
|
I |
getIndex()
Get the index used.
|
distance, distance, distancedistance, getDistanceFactory, infiniteDistance, nullDistance, undefinedDistancegetRelationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdistance, distance, distance, distance, getDistanceFactory, getRelation, infiniteDistance, nullDistance, undefinedDistanceprotected F extends DistanceFunction<? super O,D> parent
public I getIndex()
IndexBasedDistanceFunction.Instancepublic F getDistanceFunction()
DistanceQuerygetDistanceFunction in interface DistanceQuery<O,D extends Distance<D>>