Package elki.similarity.cluster
Interface ClusteringDistanceSimilarity
-
- All Superinterfaces:
Distance<Clustering<?>>
,PrimitiveDistance<Clustering<?>>
,PrimitiveSimilarity<Clustering<?>>
,Similarity<Clustering<?>>
- All Known Implementing Classes:
ClusteringAdjustedRandIndexSimilarity
,ClusteringBCubedF1Similarity
,ClusteringFowlkesMallowsSimilarity
,ClusteringRandIndexSimilarity
public interface ClusteringDistanceSimilarity extends PrimitiveSimilarity<Clustering<?>>, PrimitiveDistance<Clustering<?>>
Distance and similarity measure for clusterings.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T extends Clustering<?>>
DistanceSimilarityQuery<T>instantiate(Relation<T> relation)
Instantiate with a representation to get the actual similarity query.default boolean
isSymmetric()
Is this function symmetric?-
Methods inherited from interface elki.distance.PrimitiveDistance
distance, getInputTypeRestriction
-
Methods inherited from interface elki.similarity.PrimitiveSimilarity
similarity
-
Methods inherited from interface elki.similarity.Similarity
getInputTypeRestriction
-
-
-
-
Method Detail
-
isSymmetric
default boolean isSymmetric()
Description copied from interface:Similarity
Is this function symmetric?- Specified by:
isSymmetric
in interfaceDistance<Clustering<?>>
- Specified by:
isSymmetric
in interfaceSimilarity<Clustering<?>>
- Returns:
true
when symmetric
-
instantiate
<T extends Clustering<?>> DistanceSimilarityQuery<T> instantiate(Relation<T> relation)
Description copied from interface:Similarity
Instantiate with a representation to get the actual similarity query.- Specified by:
instantiate
in interfaceDistance<Clustering<?>>
- Specified by:
instantiate
in interfacePrimitiveDistance<Clustering<?>>
- Specified by:
instantiate
in interfacePrimitiveSimilarity<Clustering<?>>
- Specified by:
instantiate
in interfaceSimilarity<Clustering<?>>
- Parameters:
relation
- Representation to use- Returns:
- Actual distance query.
-
-