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, dimensionalityclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdistancedistance, instantiateisMetric, isSquared, isSymmetricpublic AbstractEditDistanceFunction(double bandSize)
bandSize - Band sizeprotected int effectiveBandSize(int dim1,
int dim2)
dim1 - First dimensionalitydim2 - Second dimensionalitypublic VectorTypeInformation<? super NumberVector> getInputTypeRestriction()
DistanceFunctiongetInputTypeRestriction in interface DistanceFunction<NumberVector>getInputTypeRestriction in interface PrimitiveDistanceFunction<NumberVector>getInputTypeRestriction in class AbstractNumberVectorDistanceFunctionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2019 ELKI Development Team. License information.