| 
				 
 | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DistanceQuery<O,D extends Distance<?>>

A distance query serves as adapter layer for database and primitive distances.
| Field Summary | 
|---|
| Fields inherited from interface de.lmu.ifi.dbs.elki.database.query.DatabaseQuery | 
|---|
HINT_BULK, HINT_EXACT, HINT_HEAVY_USE, HINT_NO_CACHE, HINT_OPTIMIZED_ONLY, HINT_SINGLE | 
| Method Summary | |
|---|---|
 D | 
distance(DBID id1,
         DBID id2)
Returns the distance between the two objects specified by their object ids.  | 
 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.  | 
 D | 
getDistanceFactory()
Method to get the distance functions factory.  | 
 DistanceFunction<? super O,D> | 
getDistanceFunction()
Get the inner distance function.  | 
 Relation<? extends O> | 
getRelation()
Access the underlying data query.  | 
 D | 
infiniteDistance()
Provides an infinite distance.  | 
 D | 
nullDistance()
Provides a null distance.  | 
 D | 
undefinedDistance()
Provides an undefined distance.  | 
| Method Detail | 
|---|
D distance(DBID id1,
           DBID id2)
id1 - first object idid2 - second object id
D distance(O o1,
           DBID id2)
o1 - first objectid2 - second object id
D distance(DBID id1,
           O o2)
id1 - first object ido2 - second object
D distance(O o1,
           O o2)
o1 - first objecto2 - second object
D getDistanceFactory()
DistanceFunction<? super O,D> getDistanceFunction()
D infiniteDistance()
D nullDistance()
D undefinedDistance()
Relation<? extends O> getRelation()
  | 
				
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||