de.lmu.ifi.dbs.elki.distance.distancefunction.timeseries
Class AbstractEditDistanceFunction

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractPrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>
      extended by de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractVectorDoubleDistanceFunction
          extended by 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.


Nested Class Summary
static class AbstractEditDistanceFunction.Parameterizer
          Parameterization class.
 
Field Summary
protected  double bandSize
          Keeps the currently set bandSize.
static OptionID BANDSIZE_ID
          BANDSIZE parameter
 
Constructor Summary
AbstractEditDistanceFunction(double bandSize)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 VectorFieldTypeInformation<? super NumberVector<?,?>> getInputTypeRestriction()
          Get the input data type of the function.
 
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractVectorDoubleDistanceFunction
distance, getDistanceFactory
 
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractPrimitiveDistanceFunction
instantiate, isMetric, isSymmetric
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.PrimitiveDoubleDistanceFunction
doubleDistance
 
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.DistanceFunction
instantiate, isMetric, isSymmetric
 

Field Detail

BANDSIZE_ID

public static final OptionID BANDSIZE_ID
BANDSIZE parameter


bandSize

protected double bandSize
Keeps the currently set bandSize.

Constructor Detail

AbstractEditDistanceFunction

public AbstractEditDistanceFunction(double bandSize)
Constructor.

Parameters:
bandSize - Band size
Method Detail

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

Release 0.4.0 (2011-09-20_1324)