
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(DBIDRef id1,
        O o2)
Returns the distance between the two objects specified by their object ids. 
 | 
D | 
distance(O o1,
        DBIDRef 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, DBIDRef id2)
AbstractDistanceQuerypublic D distance(DBIDRef id1, O o2)
AbstractDistanceQuerypublic D distance(O o1, O o2)
AbstractDistanceQuery