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(Object obj) |
VectorTypeInformation<? super NumberVector> |
getInputTypeRestriction()
Get the input data type of the function.
|
dimensionality, dimensionality, dimensionality, dimensionality
distance, instantiate, isMetric, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
distance
distance
instantiate, isMetric, 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
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.