Skip to main content
. 2017 Jun 2;17(6):1275. doi: 10.3390/s17061275
Algorithm 3 Dynamic Time-Warping Position-Fingerprint-Matching Algorithm
  • Input: fingerprint time series, triangular region, start point, end point, fingerprint map table; 

  • Output: the most similar candidate trajectory within the triangular region;  

  • 1. {  

  • 2. Fit fingerprint time series by MLS; 

  • 3. For (each candidate trajectory satisfying the three conditions mentioned above) 

  • 4. Calculate DDTW between the candidate trajectory and the fitted fingerprint time series; 

  • 5. Find the minimal DDTW, which denotes the most similar candidate trajectory. 

  • 6. }