de.lmu.ifi.dbs.elki.distance.similarityfunction
Interface DBIDSimilarityFunction<D extends Distance<D>>
- Type Parameters:
D
- distance type
- All Superinterfaces:
- InspectionUtilFrequentlyScanned, Parameterizable, SimilarityFunction<DBID,D>
- All Known Implementing Classes:
- AbstractDBIDSimilarityFunction
public interface DBIDSimilarityFunction<D extends Distance<D>>
- extends SimilarityFunction<DBID,D>
Interface DBIDSimilarityFunction describes the requirements of any similarity
function defined over object IDs.
Method Summary |
D |
similarity(DBID id1,
DBID id2)
Computes the similarity between two given DatabaseObjects according to this
similarity function. |
similarity
D similarity(DBID id1,
DBID id2)
- Computes the similarity between two given DatabaseObjects according to this
similarity function.
- Parameters:
id1
- first object idid2
- second object id
- Returns:
- the similarity between two given DatabaseObjects according to this
similarity function