public abstract class AbstractEditDistanceFunction extends AbstractVectorDoubleDistanceFunction
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.
|
static OptionID |
BANDSIZE_ID
BANDSIZE parameter
|
Constructor and Description |
---|
AbstractEditDistanceFunction(double bandSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
VectorFieldTypeInformation<? super NumberVector<?,?>> |
getInputTypeRestriction()
Get the input data type of the function.
|
distance, getDistanceFactory
instantiate, isMetric, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doubleDistance
instantiate, isMetric, isSymmetric
public static final OptionID BANDSIZE_ID
protected double bandSize
public AbstractEditDistanceFunction(double bandSize)
bandSize
- Band sizepublic VectorFieldTypeInformation<? super NumberVector<?,?>> getInputTypeRestriction()
DistanceFunction
getInputTypeRestriction
in interface DistanceFunction<NumberVector<?,?>,DoubleDistance>
getInputTypeRestriction
in interface PrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>
getInputTypeRestriction
in class AbstractVectorDoubleDistanceFunction