|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimilarityQuery<O,D extends Distance<?>>
A similarity query serves as adapter layer for database and primitive similarity functions.
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 |
getDistanceFactory()
Method to get the distance functions factory. |
Relation<? extends O> |
getRelation()
Access the underlying data query. |
D |
similarity(DBID id1,
DBID id2)
Returns the similarity between the two objects specified by their object ids. |
D |
similarity(DBID id1,
O o2)
Returns the similarity between the two objects specified by their object ids. |
D |
similarity(O o1,
DBID id2)
Returns the similarity between the two objects specified by their object ids. |
D |
similarity(O o1,
O o2)
Returns the similarity between the two objects specified by their object ids. |
Method Detail |
---|
D similarity(DBID id1, DBID id2)
id1
- first object idid2
- second object id
D similarity(O o1, DBID id2)
o1
- first objectid2
- second object id
D similarity(DBID id1, O o2)
id1
- first object ido2
- second object
D similarity(O o1, O o2)
o1
- first objecto2
- second object
D getDistanceFactory()
Relation<? extends O> getRelation()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |