public class DistanceComputation extends Object
| Constructor and Description |
|---|
DistanceComputation() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
calcDistTSAndPattern(double[] ts,
double[] pValue)
Calculating the distance between time series and pattern.
|
protected double |
eculideanDistNorm(double[] ts1,
double[] ts2)
Normalized Euclidean distance.
|
protected double |
eculideanDistNormEAbandon(double[] ts1,
double[] ts2,
double bsfDist)
Normalized early abandoned Euclidean distance.
|
protected double calcDistTSAndPattern(double[] ts,
double[] pValue)
ts - a series of points for time series.pValue - a series of points for pattern.protected double eculideanDistNormEAbandon(double[] ts1,
double[] ts2,
double bsfDist)
ts1 - the first series.ts2 - the second series.bsfDist - the distance value (used for early abandon).protected double eculideanDistNorm(double[] ts1,
double[] ts2)
ts1 - the first series.ts2 - the second series.Copyright © 2021 JMotif. All rights reserved.