public abstract class AbstractEditDistanceFunction extends AbstractNumberVectorDistanceFunction
Modifier and Type | Class and Description |
---|---|
static class |
AbstractEditDistanceFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected double |
bandSize
Keeps the currently set bandSize.
|
Constructor and Description |
---|
AbstractEditDistanceFunction(double bandSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
effectiveBandSize(int dim1,
int dim2)
Compute the effective band size.
|
boolean |
equals(java.lang.Object obj) |
VectorTypeInformation<? super NumberVector> |
getInputTypeRestriction()
Get the input data type of the function.
|
int |
hashCode() |
dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
distance
distance, instantiate
isMetric, isSquared, isSymmetric
public AbstractEditDistanceFunction(double bandSize)
bandSize
- Band sizeprotected int effectiveBandSize(int dim1, int dim2)
dim1
- First dimensionalitydim2
- Second dimensionalitypublic VectorTypeInformation<? super NumberVector> getInputTypeRestriction()
DistanceFunction
getInputTypeRestriction
in interface DistanceFunction<NumberVector>
getInputTypeRestriction
in interface PrimitiveDistanceFunction<NumberVector>
getInputTypeRestriction
in class AbstractNumberVectorDistanceFunction
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2019 ELKI Development Team. License information.