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
|
relation
HINT_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, distance
distance, getDistanceFactory, infiniteDistance, nullDistance, undefinedDistance
getRelation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
distance, distance, distance, distance, getDistanceFactory, getRelation, infiniteDistance, nullDistance, undefinedDistance
protected F extends DistanceFunction<? super O,D> parent
public I getIndex()
IndexBasedDistanceFunction.Instance
public F getDistanceFunction()
DistanceQuery
getDistanceFunction
in interface DistanceQuery<O,D extends Distance<D>>