de.lmu.ifi.dbs.elki.distance.distancefunction.timeseries
Class AbstractEditDistanceFunction
java.lang.Object
de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractPrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>
de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractVectorDoubleDistanceFunction
de.lmu.ifi.dbs.elki.distance.distancefunction.timeseries.AbstractEditDistanceFunction
- All Implemented Interfaces:
- DistanceFunction<NumberVector<?,?>,DoubleDistance>, PrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>, PrimitiveDoubleDistanceFunction<NumberVector<?,?>>, InspectionUtilFrequentlyScanned, Parameterizable
- Direct Known Subclasses:
- DTWDistanceFunction, EDRDistanceFunction, ERPDistanceFunction
public abstract class AbstractEditDistanceFunction
- extends AbstractVectorDoubleDistanceFunction
Provides the Edit Distance for FeatureVectors.
BANDSIZE_ID
public static final OptionID BANDSIZE_ID
- BANDSIZE parameter
bandSize
protected double bandSize
- Keeps the currently set bandSize.
AbstractEditDistanceFunction
public AbstractEditDistanceFunction(double bandSize)
- Constructor.
- Parameters:
bandSize
- Band size
getInputTypeRestriction
public VectorFieldTypeInformation<? super NumberVector<?,?>> getInputTypeRestriction()
- Description copied from interface:
DistanceFunction
- Get the input data type of the function.
- Specified by:
getInputTypeRestriction
in interface DistanceFunction<NumberVector<?,?>,DoubleDistance>
- Specified by:
getInputTypeRestriction
in interface PrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>
- Overrides:
getInputTypeRestriction
in class AbstractVectorDoubleDistanceFunction
- Returns:
- Type restriction
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object