@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
Modifier and Type | Class and Description |
---|---|
static class |
EDRDistanceFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private double |
delta
Keeps the currently set delta.
|
static OptionID |
DELTA_ID
DELTA parameter
|
bandSize, BANDSIZE_ID
Constructor and Description |
---|
EDRDistanceFunction(double bandSize,
double delta)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
doubleDistance(NumberVector<?> v1,
NumberVector<?> v2)
Provides the Edit Distance on Real Sequence distance between the given two
vectors.
|
boolean |
equals(Object obj) |
getInputTypeRestriction
distance, getDistanceFactory
instantiate, isMetric, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instantiate, isMetric, isSymmetric
public static final OptionID DELTA_ID
private double delta
public EDRDistanceFunction(double bandSize, double delta)
bandSize
- Band sizedelta
- Allowed deltapublic double doubleDistance(NumberVector<?> v1, NumberVector<?> v2)
v1
- first Objectv2
- second ObjectDoubleDistance
.public boolean equals(Object obj)
equals
in class AbstractEditDistanceFunction