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