Package elki.similarity
Class AbstractVectorSimilarity
- java.lang.Object
-
- elki.similarity.AbstractVectorSimilarity
-
- All Implemented Interfaces:
PrimitiveSimilarity<NumberVector>
,Similarity<NumberVector>
- Direct Known Subclasses:
Kulczynski2Similarity
,LaplaceKernel
,PolynomialKernel
,RadialBasisFunctionKernel
,RationalQuadraticKernel
,SigmoidKernel
public abstract class AbstractVectorSimilarity extends java.lang.Object implements PrimitiveSimilarity<NumberVector>
Abstract base class for double-valued primitive similarity functions.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description AbstractVectorSimilarity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleTypeInformation<? super NumberVector>
getInputTypeRestriction()
Get the input data type of the function.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.similarity.PrimitiveSimilarity
instantiate, similarity
-
Methods inherited from interface elki.similarity.Similarity
isSymmetric
-
-
-
-
Method Detail
-
getInputTypeRestriction
public SimpleTypeInformation<? super NumberVector> getInputTypeRestriction()
Description copied from interface:Similarity
Get the input data type of the function.- Specified by:
getInputTypeRestriction
in interfaceSimilarity<NumberVector>
-
-