@Reference(authors="M.-M. Deza and E. Deza", title="Dictionary of distances", booktitle="Dictionary of distances") public class Kulczynski1SimilarityFunction extends AbstractVectorDoubleSimilarityFunction
M.-M. Deza and E. Deza
Dictionary of distances
Modifier and Type | Class and Description |
---|---|
static class |
Kulczynski1SimilarityFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static Kulczynski1SimilarityFunction |
STATIC
Static instance.
|
Constructor and Description |
---|
Kulczynski1SimilarityFunction()
Deprecated.
Use
STATIC instance instead. |
Modifier and Type | Method and Description |
---|---|
double |
doubleSimilarity(NumberVector<?> v1,
NumberVector<?> v2)
Computes the similarity between two given Objects according to this
similarity function.
|
getDistanceFactory, getInputTypeRestriction, similarity
instantiate, isSymmetric
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instantiate, isSymmetric
public static final Kulczynski1SimilarityFunction STATIC
@Deprecated public Kulczynski1SimilarityFunction()
STATIC
instance instead.public double doubleSimilarity(NumberVector<?> v1, NumberVector<?> v2)
PrimitiveDoubleSimilarityFunction
v1
- first Objectv2
- second Object