Skip to main content
Top
Published in: The Journal of Supercomputing 1/2021

30-04-2020

Windowing queries using Minkowski sum and their extension to MapReduce

Published in: The Journal of Supercomputing | Issue 1/2021

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Given a set of n segments and a query shape Q, the windowing length query asks for finding the sum of the lengths of the parts of the segments that lie inside Q. The popular places problem of a set of curves asks for the subset of the plane where each query shape centered at a point of that region intersects with at least f distinct curves. For square queries, an optimal \(O(n^2)\) time algorithm and a matching lower bound exist. We solve the length query problem for convex polygons and disks as query shapes, with \(O(\log n+k)\) query time and polynomial preprocessing time that depends on the complexity of the query shape. We define a new version of the problem of finding popular places in a set of trajectories where the center of a query is a popular place if the length of the curves inside that query is at least f and use our data structure to solve the original problem as well as this new version. Other than length queries, we solve reporting queries that return the set of intersected segments. For disk queries, we design a point-location data structure for congruent disks with \(O(\log n)\) query time and \(O(n^3\log n)\) preprocessing. We also give algorithms for computing the length query for c-packed curves, which are a class of curves for which the length of the curve inside a disk of radius r is upper-bounded by cr, where c is a constant. Also, we use length queries for polygons to approximate the minimum value c for which a curve is c-packed, if such a c exists. Our results extend to MRC and MPC models for MapReduce, where we address these problems on a set of x-monotone curves. The round complexities of our MapReduce algorithms are constant. In addition, we also implemented our popular places algorithms on trajectories on inputs as big as 15K points to evaluate the efficiency of our algorithms in practice.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Literature
2.
3.
go back to reference Barequet G, Dickerson M, Pau P (1997) Translating a convex polygon to contain a maximum number of points. Comput Geom 8(4):167–179MathSciNetMATHCrossRef Barequet G, Dickerson M, Pau P (1997) Translating a convex polygon to contain a maximum number of points. Comput Geom 8(4):167–179MathSciNetMATHCrossRef
4.
go back to reference Beame P, Koutris P, Suciu D (2013) Communication steps for parallel query processing. In: Proceedings of the 32nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, ACM, pp 273–284 Beame P, Koutris P, Suciu D (2013) Communication steps for parallel query processing. In: Proceedings of the 32nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, ACM, pp 273–284
6.
go back to reference Benson RV (1966) Euclidean geometry and convexity. McGraw-Hill, New YorkMATH Benson RV (1966) Euclidean geometry and convexity. McGraw-Hill, New YorkMATH
7.
go back to reference Bringmann K (2014) Why walking the dog takes time: Fréchet distance has no strongly subquadratic algorithms unless SETH fails. In: 2014 IEEE 55th Annual Symposium on Foundations of Computer Science, IEEE, pp 661–670 Bringmann K (2014) Why walking the dog takes time: Fréchet distance has no strongly subquadratic algorithms unless SETH fails. In: 2014 IEEE 55th Annual Symposium on Foundations of Computer Science, IEEE, pp 661–670
9.
go back to reference De Berg M, Van Kreveld M, Overmars M, Schwarzkopf O (1997) Computational geometry. Springer, Berlin, pp 1–17MATHCrossRef De Berg M, Van Kreveld M, Overmars M, Schwarzkopf O (1997) Computational geometry. Springer, Berlin, pp 1–17MATHCrossRef
10.
go back to reference Driemel A, Har-Peled S, Wenk C (2012) Approximating the Fréchet distance for realistic curves in near linear time. Discrete Comput Geom 48(1):94–127MathSciNetMATHCrossRef Driemel A, Har-Peled S, Wenk C (2012) Approximating the Fréchet distance for realistic curves in near linear time. Discrete Comput Geom 48(1):94–127MathSciNetMATHCrossRef
11.
12.
go back to reference Edelsbrunner H, Guibas L, Pach J, Pollack R, Seidel R, Sharir M (1992) Arrangements of curves in the plane—topology, combinatorics, and algorithms. Theor Comput Sci 92(2):319–336MathSciNetMATHCrossRef Edelsbrunner H, Guibas L, Pach J, Pollack R, Seidel R, Sharir M (1992) Arrangements of curves in the plane—topology, combinatorics, and algorithms. Theor Comput Sci 92(2):319–336MathSciNetMATHCrossRef
13.
go back to reference Fogel E, Halperin D, Wein R (2012) CGAL arrangements and their applications: a step-by-step guide, vol 7. Springer, BerlinMATHCrossRef Fogel E, Halperin D, Wein R (2012) CGAL arrangements and their applications: a step-by-step guide, vol 7. Springer, BerlinMATHCrossRef
14.
go back to reference Fort M, Sellarès JA, Valladares N (2014) Computing and visualizing popular places. Knowl Inf Syst 40(2):411–437CrossRef Fort M, Sellarès JA, Valladares N (2014) Computing and visualizing popular places. Knowl Inf Syst 40(2):411–437CrossRef
15.
go back to reference Gilbert JR, Miller GL, Teng SH (1998) Geometric mesh partitioning: implementation and experiments. SIAM J Sci Comput 19(6):2091–2110MathSciNetMATHCrossRef Gilbert JR, Miller GL, Teng SH (1998) Geometric mesh partitioning: implementation and experiments. SIAM J Sci Comput 19(6):2091–2110MathSciNetMATHCrossRef
16.
go back to reference Goodrich MT (1991) Intersecting line segments in parallel with an output-sensitive number of processors. SIAM J Comput 20(4):737–755MathSciNetMATHCrossRef Goodrich MT (1991) Intersecting line segments in parallel with an output-sensitive number of processors. SIAM J Comput 20(4):737–755MathSciNetMATHCrossRef
18.
go back to reference Goodrich MT, Sitchinava N, Zhang Q (2011) Sorting, searching, and simulation in the MapReduce framework. arXiv:11011902 Goodrich MT, Sitchinava N, Zhang Q (2011) Sorting, searching, and simulation in the MapReduce framework. arXiv:​11011902
19.
go back to reference Haran I (2006) Efficient point location in general planar subdivisions using landmarks. Tel Aviv University, Tel Aviv Haran I (2006) Efficient point location in general planar subdivisions using landmarks. Tel Aviv University, Tel Aviv
20.
go back to reference Karloff H, Suri S, Vassilvitskii S (2010) A model of computation for MapReduce. In: Proceedings of the Twenty-First Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, pp 938–948 Karloff H, Suri S, Vassilvitskii S (2010) A model of computation for MapReduce. In: Proceedings of the Twenty-First Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, pp 938–948
22.
go back to reference Kedem K, Livne R, Pach J, Sharir M (1986) On the union of Jordan regions and collision-free translational motion amidst polygonal obstacles. Discrete Comput Geom 1(1):59–71MathSciNetMATHCrossRef Kedem K, Livne R, Pach J, Sharir M (1986) On the union of Jordan regions and collision-free translational motion amidst polygonal obstacles. Discrete Comput Geom 1(1):59–71MathSciNetMATHCrossRef
23.
go back to reference Laube P, Imfeld S, Weibel R (2005) Discovering relative motion patterns in groups of moving point objects. Int J Geogr Inf Sci 19(6):639–668CrossRef Laube P, Imfeld S, Weibel R (2005) Discovering relative motion patterns in groups of moving point objects. Int J Geogr Inf Sci 19(6):639–668CrossRef
24.
go back to reference Laube P, van Kreveld M, Imfeld S (2005) Finding REMO—detecting relative motion patterns in geospatial lifelines. Developments in spatial data handling. Springer, Berlin, pp 201–215CrossRef Laube P, van Kreveld M, Imfeld S (2005) Finding REMO—detecting relative motion patterns in geospatial lifelines. Developments in spatial data handling. Springer, Berlin, pp 201–215CrossRef
25.
go back to reference Leighton FT (2014) Introduction to parallel algorithms and architectures: arrays\(\cdot\) trees\(\cdot\) hypercubes. Elsevier, Amsterdam Leighton FT (2014) Introduction to parallel algorithms and architectures: arrays\(\cdot\) trees\(\cdot\) hypercubes. Elsevier, Amsterdam
28.
go back to reference Pollack R, Sharir M, Sifrony S (1988) Separating two simple polygons by a sequence of translations. Discrete Comput Geom 3(2):123–136MathSciNetMATHCrossRef Pollack R, Sharir M, Sifrony S (1988) Separating two simple polygons by a sequence of translations. Discrete Comput Geom 3(2):123–136MathSciNetMATHCrossRef
30.
go back to reference Shakhnarovich G, Darrell T, Indyk P (2006) Theory. The MIT Press, Cambridge Shakhnarovich G, Darrell T, Indyk P (2006) Theory. The MIT Press, Cambridge
31.
go back to reference Sharir M (1987) Efficient algorithms for planning purely translational collision-free motion in two and three dimensions. In: Proceedings. 1987 IEEE International Conference on Robotics and Automation, Citeseer, vol 4, pp 1326–1331 Sharir M (1987) Efficient algorithms for planning purely translational collision-free motion in two and three dimensions. In: Proceedings. 1987 IEEE International Conference on Robotics and Automation, Citeseer, vol 4, pp 1326–1331
32.
go back to reference Toth CD, O’Rourke J, Goodman JE (2017) Handbook of discrete and computational geometry (Chapter 28). Chapman and Hall/CRC, Boca RatonMATH Toth CD, O’Rourke J, Goodman JE (2017) Handbook of discrete and computational geometry (Chapter 28). Chapman and Hall/CRC, Boca RatonMATH
33.
go back to reference Zheng K, Zheng Y, Yuan NJ, Shang S, Zhou X (2013) Online discovery of gathering patterns over trajectories. IEEE Trans Knowl Data Eng 26(8):1974–1988CrossRef Zheng K, Zheng Y, Yuan NJ, Shang S, Zhou X (2013) Online discovery of gathering patterns over trajectories. IEEE Trans Knowl Data Eng 26(8):1974–1988CrossRef
34.
go back to reference Zheng Y, Li Q, Chen Y, Xie X, Ma WY (2008) Understanding mobility based on GPS data. In: Proceedings of the 10th International Conference on Ubiquitous Computing, pp 312–321 Zheng Y, Li Q, Chen Y, Xie X, Ma WY (2008) Understanding mobility based on GPS data. In: Proceedings of the 10th International Conference on Ubiquitous Computing, pp 312–321
35.
go back to reference Zheng Y, Zhang L, Xie X, Ma WY (2009) Mining interesting locations and travel sequences from GPS trajectories. In: Proceedings of the 18th International Conference on World Wide Web, pp 791–800 Zheng Y, Zhang L, Xie X, Ma WY (2009) Mining interesting locations and travel sequences from GPS trajectories. In: Proceedings of the 18th International Conference on World Wide Web, pp 791–800
36.
go back to reference Zheng Y, Xie X, Ma WY et al (2010) Geolife: a collaborative social networking service among user, location and trajectory. IEEE Data Eng Bull 33(2):32–39 Zheng Y, Xie X, Ma WY et al (2010) Geolife: a collaborative social networking service among user, location and trajectory. IEEE Data Eng Bull 33(2):32–39
Metadata
Title
Windowing queries using Minkowski sum and their extension to MapReduce
Publication date
30-04-2020
Published in
The Journal of Supercomputing / Issue 1/2021
Print ISSN: 0920-8542
Electronic ISSN: 1573-0484
DOI
https://doi.org/10.1007/s11227-020-03299-7

Other articles of this Issue 1/2021

The Journal of Supercomputing 1/2021 Go to the issue

Premium Partner