O
- Database object type.public interface DatabaseDistanceQuery<O> extends DistanceQuery<O>
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE
Modifier and Type | Method and Description |
---|---|
default double |
distance(DBIDRef id1,
O o2)
Returns the distance between the two objects specified by their object ids.
|
default double |
distance(O o1,
DBIDRef id2)
Returns the distance between the two objects specified by their object ids.
|
default double |
distance(O o1,
O o2)
Returns the distance between the two objects specified by their object ids.
|
distance, getDistanceFunction, getRelation
default double distance(O o1, DBIDRef id2)
DistanceQuery
distance
in interface DistanceQuery<O>
o1
- first objectid2
- second object iddefault double distance(DBIDRef id1, O o2)
DistanceQuery
distance
in interface DistanceQuery<O>
id1
- first object ido2
- second objectdefault double distance(O o1, O o2)
DistanceQuery
distance
in interface DistanceQuery<O>
o1
- first objecto2
- second objectCopyright © 2019 ELKI Development Team. License information.