@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 DTWDistanceFunction
L. Chen and M. T. Özsu and V. Oria
Robust and fast similarity search for moving object trajectories
SIGMOD '05: Proceedings of the 2005 ACM SIGMOD international conference on
Management of data
Modifier and Type | Class and Description |
---|---|
static class |
EDRDistanceFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private double |
delta
Delta parameter, similarity threshold for attributes.
|
bandSize
Constructor and Description |
---|
EDRDistanceFunction(double bandSize,
double delta)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double |
delta(double val1,
double val2)
Compute the delta of two values.
|
double |
distance(NumberVector v1,
NumberVector v2)
Computes the distance between two given DatabaseObjects according to this
distance function.
|
boolean |
equals(Object obj) |
protected void |
firstRow(double[] buf,
int band,
NumberVector v1,
NumberVector v2,
int dim2)
Fill the first row.
|
effectiveBandSize, getInputTypeRestriction
dimensionality, dimensionality, dimensionality, dimensionality
instantiate, isMetric, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instantiate, isMetric, isSymmetric
public EDRDistanceFunction(double bandSize, double delta)
bandSize
- Band sizedelta
- Allowed deltapublic double distance(NumberVector v1, NumberVector v2)
PrimitiveDistanceFunction
distance
in interface NumberVectorDistanceFunction<NumberVector>
distance
in interface PrimitiveDistanceFunction<NumberVector>
distance
in class DTWDistanceFunction
v1
- first DatabaseObjectv2
- second DatabaseObjectprotected void firstRow(double[] buf, int band, NumberVector v1, NumberVector v2, int dim2)
DTWDistanceFunction
firstRow
in class DTWDistanceFunction
buf
- Bufferband
- Bandwidthv1
- First vectorv2
- Second vectordim2
- Dimensionality of secondprotected double delta(double val1, double val2)
DTWDistanceFunction
delta
in class DTWDistanceFunction
val1
- First valueval2
- Second valuepublic boolean equals(Object obj)
equals
in class AbstractEditDistanceFunction
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.