
@Title(value="Edit Distance with Real Penalty") @Reference(authors="L. Chen and R. Ng", title="On the marriage of Lp-norms and edit distance", booktitle="VLDB \'04: Proceedings of the Thirtieth international conference on Very large data bases", url="http://www.vldb.org/conf/2004/RS21P2.PDF") public class ERPDistanceFunction extends DTWDistanceFunction
 L. Chen and R. Ng
 On the marriage of Lp-norms and edit distance
 VLDB '04: Proceedings of the Thirtieth international conference on Very large
 data bases
 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ERPDistanceFunction.ParameterizerParameterization class. | 
| Modifier and Type | Field and Description | 
|---|---|
| private double | gGap value. | 
bandSize| Constructor and Description | 
|---|
| ERPDistanceFunction(double bandSize,
                   double g)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, getInputTypeRestrictiondimensionality, dimensionality, dimensionality, dimensionalityinstantiate, isMetric, isSymmetricclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinstantiate, isMetric, isSymmetricpublic ERPDistanceFunction(double bandSize,
                   double g)
bandSize - Band sizeg - G parameterpublic double distance(NumberVector v1, NumberVector v2)
PrimitiveDistanceFunctiondistance in interface NumberVectorDistanceFunction<NumberVector>distance in interface PrimitiveDistanceFunction<NumberVector>distance in class DTWDistanceFunctionv1 - first DatabaseObjectv2 - second DatabaseObjectprotected void firstRow(double[] buf,
            int band,
            NumberVector v1,
            NumberVector v2,
            int dim2)
DTWDistanceFunctionfirstRow in class DTWDistanceFunctionbuf - Bufferband - Bandwidthv1 - First vectorv2 - Second vectordim2 - Dimensionality of secondprotected double delta(double val1,
           double val2)
DTWDistanceFunctiondelta in class DTWDistanceFunctionval1 - First valueval2 - Second valuepublic boolean equals(Object obj)
equals in class AbstractEditDistanceFunctionCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.