Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/2582112.2582155acmotherconferencesArticle/Chapter ViewAbstractPublication PagessocgConference Proceedingsconference-collections
tutorial

The Discrete Fréchet Distance with Shortcuts via Approximate Distance Counting and Selection

Published: 08 June 2014 Publication History

Abstract

The Fréchet distance is a well studied similarity measure between curves. The discrete Fréchet distance is an analogous similarity measure, defined for two sequences of m and n points, where the points are usually sampled from input curves. We consider a variant, called the discrete Fréchet distance with shortcuts, which captures the similarity between (sampled) curves in the presence of outliers. When shortcuts are allowed only in one noise-containing curve, we give a randomized algorithm that runs in O((m+n)6/5+ϵ) expected time, for any ϵ > 0. When shortcuts are allowed in both curves, we give an O((m2/3n2/3 + m + n) log3(m + n))-time deterministic algorithm.
We also consider the semi-continuous Fréchet distance with one-sided shortcuts, where we have a sequence of m points and a polygonal curve of n edges, and shortcuts are allowed only in the sequence. We show that this problem can be solved in randomized expected time O((m + n)2/3 m2/3n1/3 log(m + n)).
Our techniques are novel and may find further applications. One of the main new technical results is: Given two sets of points A and B in the plane and an interval I, we develop an algorithm that decides whether the number of pairs (x, y) ∈ A × B whose distance dist(x, y) is in I, is less than some given threshold L. The running time of this algorithm decreases as L increases. In case there are more than L pairs of points whose distance is in I, we can get a small sample of pairs that contains a pair at approximate median distance (i.e., we can approximately "bisect" I). We combine this procedure with additional ideas to search, with a small overhead, for the optimal one-sided Fréchet distance with shortcuts, using a very fast decision procedure. We also show how to apply this technique for approximate distance selection (with respect to rank), and a somewhat more involved variant of this technique is used in the solution of the semicontinuous Fréchet distance with one-sided shortcuts. In general, the new technique can apply to optimization problems for which the decision procedure is very fast but standard techniques like parametric search make the optimization algorithm substantially slower.

References

[1]
P. K. Agarwal, R. Ben Avraham, H. Kaplan and M. Sharir, Computing the discrete Fréchet distance in subquadratic time, Proc. 24th Annu. ACM-SIAM Sympos. Discrete Algorithms (2013), 156--167. Also in SIAM J. Comput., in press, and in arxiv:1204.5333 (2012).
[2]
H. Alt and M. Godau, Computing the Fréchet distance between two polygonal curves, Internat. J. Comput. Geom. Appl. 5 (1995), 75--91.
[3]
R. Ben Avraham, O. Filtser, H. Kaplan, M. J. Katz and M. Sharir, The Discrete and Semicontinuous Fréchet Distance with Shortcuts via Approximate Distance Counting and Selection, arxiv:1310.5245 (2013).
[4]
S. Bereg, M. Jiang, W. Wang, B. Yang and B. Zhu, Simplifying 3d polygonal chains under the discrete Frechet distance, Proc. 8th Latin American Conf. on Theoretical informatics (2008), 630--641.
[5]
S. Bespamyatnikh and M. Segal, Fast algorithms for approximating distances, Algorithmica 33(2) (2002), 263--269.
[6]
S. Brakatsoulas, D. Pfoser, R. Salas and C. Wenk, On map-matching vehicle tracking data, Proc. 31st Intl. Conf. Very Large Data Bases (2005), 853--864.
[7]
K. Buchin, M. Buchin and J. Gudmundsson, Detecting single file movement, Proc. 16th ACM SIGSPATIAL Intl. Conf. Adv. GIS (2008), 288--297.
[8]
K. Buchin, M. Buchin, J. Gudmundsson, M. Léffler and J. Luo, Detecting commuting patterns by clustering subtrajectories, Internat. J. Comput. Geom. Appl. 21(3) (2011), 253--282.
[9]
K. Buchin, M. Buchin, W. Meulemans and W. Mulzer, Four soviets walk the dog --- with an application to Alt's conjecture, Proc. 25th Annu. ACM-SIAM Sympos. Discrete Algorithms (2014), 1399--1413.
[10]
K. Buchin, M. Buchin and Y. Wang, Exact algorithms for partial curve matching via the Fréchet distance, Proc. 20th Annu. ACM-SIAM Sympos. Discrete Algorithms (2009), 645--654.
[11]
M. Buchin, A. Driemel and B. Speckmann, Computing the Fréchet distance with shortcuts is NP-hard, Euro. Workshop Comput. Geom. (2013), 43--46.
[12]
B. Chazelle, Cutting hyperplanes for divide-and-conquer, Discrete Comput. Geom. 9 (1993), 145--158.
[13]
B. Chazelle and J. Friedman, A deterministic view of random sampling and its use in geometry, Combinatorica 10 (1990), 229--249.
[14]
D. Chen, A. Driemel, L. J. Guibas, A. Nguyen and C. Wenk, Approximate map matching with respect to the Fréchet distance, Proc. 7th Workshop on Algorithm Engineering and Experiments (2011), 75--83.
[15]
A. Driemel and S. Har-Peled, Jaywalking your dog: Computing the Fréchet distance with shortcuts, SIAM J. Comput. 42(5) (2013), 1830--1866.
[16]
T. Eiter and H. Mannila, Computing discrete Fréchet distance, Technical Report CD-TR 94/64, Christian Doppler Laboratory for Expert Systems, TU Vienna, Austria, 1994.
[17]
S. Har-Peled and B. Raichel, Net and prune: a linear time algorithm for Euclidean distance problems, Proc. 45th ACM Sympos. Theory Comput. (2013), 605--614.
[18]
S. Har-Peled and M. Sharir, Relative (p, &epsis;)-approximations in geometry, Discrete Comput. Geom. 45(3) (2011), 462--496.
[19]
M. J. Katz and M. Sharir, An expander-based approach to geometric optimization, SIAM J. Comput. 26(5) (1997), 1384--1408.
[20]
M. S. Kim, S. W. Kim and M. Shin, Optimization of subsequence matching under time warping in time-series databases, Proc. ACM Sympos. Applied Comput. (2005), 581--586.
[21]
S. Kwong, Q. H. He, K. F. Man, K. S. Tang and C. W. Chau, Parallel genetic-based hybrid pattern matching algorithm for isolated word recognition, Intl. J. Pattern Recog. Art. Intel. 12(5) (1998), 573--594.
[22]
Y. Li, P. M. Long and A. Srinivasan, Improved bounds on the sample complexity of learning, J. Comput. Syst. Sci. 62 (2001), 516--527.
[23]
J. Matoušek, Cutting hyperplane arrangements, Discrete Comput. Geom. 6 (1991), 385--406.
[24]
M. E. Munich and P. Perona, Continuous dynamic time warping for translation-invariant curve alignment with applications to signature verification, Proc. 7th Intl. Conf. Comp. Vision (1999), 108--115.
[25]
M. Sharir and H. Shaul, Semialgebraic range reporting and emptiness searching with applications, SIAM J. Comput. 40(4) (2011), 1045--1074.
[26]
C. Wenk, R. Salas and D. Pfoser, Addressing the need for map-matching speed: Localizing global curve-matching algorithms, Proc. 18th Intl. Conf. Scientific and Statistical Database Management (2006), 379--388.
[27]
T. Wylie and B. Zhu, Protein chain pair simplification under the discrete Frechet distance, IEEE/ACM Trans. Comput. Biology Bioinform. (2013), 1372--1383.

Cited By

View all
  • (2020)PathExtractor: A Path-Semantic extraction Algorithm for Mobility Prediction2020 IEEE Wireless Communications and Networking Conference (WCNC)10.1109/WCNC45663.2020.9120534(1-6)Online publication date: May-2020
  • (2020)Distributed Human Trajectory Sensing and Partial Similarity Queries2020 19th ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN)10.1109/IPSN48710.2020.00-43(253-264)Online publication date: Apr-2020
  • (2015)Evaluating distance measures for trajectories in the mobile settingProceedings of the 2nd International Conference on Mining Urban Data - Volume 139210.5555/3045776.3045792(97-105)Online publication date: 11-Jul-2015
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
SOCG'14: Proceedings of the thirtieth annual symposium on Computational geometry
June 2014
588 pages
ISBN:9781450325943
DOI:10.1145/2582112
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 08 June 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Discrete Fréchet distance
  2. approximate distance selection and counting
  3. curve matching
  4. geometric optimization
  5. outliers
  6. shortcuts

Qualifiers

  • Tutorial
  • Research
  • Refereed limited

Conference

SOCG'14

Acceptance Rates

SOCG'14 Paper Acceptance Rate 60 of 175 submissions, 34%;
Overall Acceptance Rate 625 of 1,685 submissions, 37%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)15
  • Downloads (Last 6 weeks)6
Reflects downloads up to 03 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2020)PathExtractor: A Path-Semantic extraction Algorithm for Mobility Prediction2020 IEEE Wireless Communications and Networking Conference (WCNC)10.1109/WCNC45663.2020.9120534(1-6)Online publication date: May-2020
  • (2020)Distributed Human Trajectory Sensing and Partial Similarity Queries2020 19th ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN)10.1109/IPSN48710.2020.00-43(253-264)Online publication date: Apr-2020
  • (2015)Evaluating distance measures for trajectories in the mobile settingProceedings of the 2nd International Conference on Mining Urban Data - Volume 139210.5555/3045776.3045792(97-105)Online publication date: 11-Jul-2015
  • (2015)On the Chain Pair Simplification ProblemAlgorithms and Data Structures10.1007/978-3-319-21840-3_29(351-362)Online publication date: 28-Jul-2015
  • (2014)Computing the Fréchet distance with shortcuts is NP-hardProceedings of the thirtieth annual symposium on Computational geometry10.1145/2582112.2582144(367-376)Online publication date: 8-Jun-2014

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media