@Title(value="Edit Distance on Real Sequence") @Reference(authors="L. Chen, M. T. \u00d6zsu, V. Oria", title="Robust and fast similarity search for moving object trajectories", booktitle="Proc. 2005 ACM SIGMOD Int. Conf. Management of Data", url="https://doi.org/10.1145/1066157.1066213", bibkey="DBLP:conf/sigmod/ChenOO05") public class EDRDistanceFunction extends DTWDistanceFunction
Reference:
L. Chen, M. T. Özsu, V. Oria
Robust and fast similarity search for moving object trajectories
Proc. 2005 ACM SIGMOD Int. Conf. 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 vectors according to this distance
function.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
firstRow
effectiveBandSize, getInputTypeRestriction
dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
instantiate
isMetric, isSquared, isSymmetric
public EDRDistanceFunction(double bandSize, double delta)
bandSize
- Band sizedelta
- Allowed deltapublic double distance(NumberVector v1, NumberVector v2)
NumberVectorDistanceFunction
distance
in interface NumberVectorDistanceFunction<NumberVector>
distance
in interface PrimitiveDistanceFunction<NumberVector>
distance
in class DTWDistanceFunction
v1
- first vectorv2
- second vectorprotected double delta(double val1, double val2)
DTWDistanceFunction
TODO: support Euclidean, Manhattan, others?
delta
in class DTWDistanceFunction
val1
- First valueval2
- Second valuepublic boolean equals(java.lang.Object obj)
equals
in class AbstractEditDistanceFunction
public int hashCode()
hashCode
in class AbstractEditDistanceFunction
Copyright © 2019 ELKI Development Team. License information.