public abstract static class AbstractDatabaseDistanceFunction.Instance<O> extends java.lang.Object implements DatabaseDistanceQuery<O>
Modifier and Type | Field and Description |
---|---|
protected DistanceFunction<? super O> |
parent
Parent distance
|
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,
DistanceFunction<? super O> parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DistanceFunction<? super O> |
getDistanceFunction()
Get the inner distance function.
|
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 final DistanceFunction<? super O> parent
public Instance(Relation<O> relation, DistanceFunction<? super O> parent)
relation
- Data relationparent
- Parent distancepublic Relation<? extends O> getRelation()
DistanceQuery
getRelation
in interface DistanceQuery<O>
public DistanceFunction<? super O> getDistanceFunction()
DistanceQuery
getDistanceFunction
in interface DistanceQuery<O>
Copyright © 2019 ELKI Development Team. License information.