@Reference(authors="M.-M. Deza and E. Deza", title="Dictionary of distances", booktitle="Dictionary of distances") public class Kulczynski2SimilarityFunction extends AbstractVectorDoubleSimilarityFunction
M.-M. Deza and E. Deza
Dictionary of distances
Modifier and Type | Class and Description |
---|---|
static class |
Kulczynski2SimilarityFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static Kulczynski2SimilarityFunction |
STATIC_CONTINUOUS
Static instance.
|
Constructor and Description |
---|
Kulczynski2SimilarityFunction()
Deprecated.
Use
STATIC_CONTINUOUS 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 Kulczynski2SimilarityFunction STATIC_CONTINUOUS
@Deprecated public Kulczynski2SimilarityFunction()
STATIC_CONTINUOUS
instance instead.public double doubleSimilarity(NumberVector<?> v1, NumberVector<?> v2)
PrimitiveDoubleSimilarityFunction
v1
- first Objectv2
- second Object