de.lmu.ifi.dbs.elki.distance.distancefunction.timeseries
Class EDRDistanceFunction
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
de.lmu.ifi.dbs.elki.distance.distancefunction.timeseries.EDRDistanceFunction
- All Implemented Interfaces:
- DistanceFunction<NumberVector<?,?>,DoubleDistance>, PrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>, PrimitiveDoubleDistanceFunction<NumberVector<?,?>>, InspectionUtilFrequentlyScanned, Parameterizable
@Title(value="Edit Distance on Real Sequence")
@Reference(authors="L. Chen and M. T. \u00d6zsu and V. Oria",
title="Robust and fast similarity search for moving object trajectories",
booktitle="SIGMOD \'05: Proceedings of the 2005 ACM SIGMOD international conference on Management of data",
url="http://dx.doi.org/10.1145/1066157.1066213")
public class EDRDistanceFunction
- extends AbstractEditDistanceFunction
Provides the Edit Distance on Real Sequence distance for FeatureVectors.
Field Summary |
private double |
delta
Keeps the currently set delta. |
static OptionID |
DELTA_ID
DELTA parameter |
DELTA_ID
public static final OptionID DELTA_ID
- DELTA parameter
delta
private double delta
- Keeps the currently set delta.
EDRDistanceFunction
public EDRDistanceFunction(double bandSize,
double delta)
- Constructor.
- Parameters:
bandSize
- Band sizedelta
- Allowed delta
doubleDistance
public double doubleDistance(NumberVector<?,?> v1,
NumberVector<?,?> v2)
- Provides the Edit Distance on Real Sequence distance between the given two
vectors.
- Parameters:
v1
- first Objectv2
- second Object
- Returns:
- the Edit Distance on Real Sequence distance between the given two
vectors as an instance of
DoubleDistance
.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class AbstractEditDistanceFunction