
O - Database object type.D - Distance result type.public abstract class AbstractDatabaseDistanceQuery<O,D extends Distance<D>> extends AbstractDistanceQuery<O,D>
relationHINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE| Constructor and Description |
|---|
AbstractDatabaseDistanceQuery(Relation<? extends O> relation)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
D |
distance(DBID id1,
O o2)
Returns the distance between the two objects specified by their object ids.
|
D |
distance(O o1,
DBID id2)
Returns the distance between the two objects specified by their object ids.
|
D |
distance(O o1,
O o2)
Returns the distance between the two objects specified by their object ids.
|
distance, getDistanceFactory, infiniteDistance, nullDistance, undefinedDistancegetRelationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDistanceFunction, getRelationpublic D distance(O o1, DBID id2)
AbstractDistanceQuerypublic D distance(DBID id1, O o2)
AbstractDistanceQuerypublic D distance(O o1, O o2)
AbstractDistanceQuery