public class TimeWarpEditDistance extends java.lang.Object implements ITimeSeriesDistanceWithTimestamps
| Constructor and Description |
|---|
TimeWarpEditDistance(double lambda,
double nu)
Constructor.
|
TimeWarpEditDistance(double lambda,
double nu,
IScalarDistance d)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
distance(double[] a,
double[] tA,
double[] b,
double[] tB)
Calculates the distance between two time series.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdistancepublic TimeWarpEditDistance(double lambda,
double nu,
IScalarDistance d)
lambda - Additional cost parameter for deletion.nu - Stiffness parameter. Used to parametrize the influence of the
time stamp distance.d - Distance mesaure used for point distance calculation.public TimeWarpEditDistance(double lambda,
double nu)
lambda - Additional cost parameter for deletion.nu - Stiffness parameter.public double distance(double[] a,
double[] tA,
double[] b,
double[] tB)
ITimeSeriesDistanceWithTimestampsdistance in interface ITimeSeriesDistanceWithTimestampsa - First time series.tA - Timestamps for the first time series.b - Second time series.tB - Timestamps for the second times series.