Skip to main content

Agglomerative Clustering of Growing Squares

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10807))

Abstract

We study an agglomerative clustering problem motivated by interactive glyphs in geo-visualization. Consider a set of disjoint square glyphs on an interactive map. When the user zooms out, the glyphs grow in size relative to the map, possibly with different speeds. When two glyphs intersect, we wish to replace them by a new glyph that captures the information of the intersecting glyphs.

We present a fully dynamic kinetic data structure that maintains a set of n disjoint growing squares. Our data structure uses \(O(n (\log n \log \log n)^2)\) space, supports queries in worst case \(O(\log ^3 n)\) time, and updates in \(O(\log ^7 n)\) amortized time. This leads to an \(O(n\alpha (n)\log ^7 n)\) time algorithm (where \(\alpha \) is the inverse Ackermann function) to solve the agglomerative clustering problem, which is a significant improvement over the straightforward \(O(n^2 \log n)\) time algorithm.

The Netherlands Organisation for Scientific Research (NWO) is supporting T. Castermans (project number 314.99.117), B. Speckmann (project number 639.023.208), F. Staals (project number 612.001.651), and K. Verbeek (project number 639.021.541).

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    http://glammap.net/glamdev/maps/1, best viewed in Chrome. GlamMap currently does not implement the algorithm described in this article.

  2. 2.

    For example, the catalogue of WorldCat contains more than 321 million library records at hundreds of thousands of distinct locations.

References

  1. Agarwal, P.K., Kaplan, H., Sharir, M.: Kinetic and dynamic data structures for closest pair and all nearest neighbors. ACM Trans. Algorithms 5(1), 4:1–4:37 (2008)

    MathSciNet  Google Scholar 

  2. Ahn, H.-K., Bae, S.W., Choi, J., Korman, M., Mulzer, W., Oh, E., Park, J.-W., van Renssen, A., Vigneron, A.: Faster algorithms for growing prioritized disks and rectangles. In: International Symposium on Symbolic and Algebraic Computation, pp. 1–13 (2017)

    Google Scholar 

  3. Alexandron, G., Kaplan, H., Sharir, M.: Kinetic and dynamic data structures for convex hulls and upper envelopes. Comput. Geom. Theory Appl. 36(2), 144–1158 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  4. Bahrdt, D., Becher, M., Funke, S., Krumpe, F., Nusser, A., Seybold, M., Storandt, S.: Growing balls in \(\mathbb{R}^d\). In: Proceedings of the 19th Workshop on Algorithm Engineering and Experiments, pp. 247–258 (2017)

    Google Scholar 

  5. Castermans, T., Speckmann, B., Staals, F., Verbeek, K.: Agglomerative clustering of growing squares. ArXiv e-prints (2017)

    Google Scholar 

  6. Castermans, T., Speckmann, B., Verbeek, K., Westenberg, M.A., Betti, A., van den Berg, H.: GlamMap: geovisualization for e-humanities. In: Proceedings of the 1st Workshop on Visualization for the Digital Humanities (2016)

    Google Scholar 

  7. Funke, S., Krumpe, F., Storandt, S.: Crushing disks efficiently. In: Mäkinen, V., Puglisi, S.J., Salmela, L. (eds.) IWOCA 2016. LNCS, vol. 9843, pp. 43–54. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-44543-4_4

    Chapter  Google Scholar 

  8. Funke, S., Storandt, S.: Parametrized runtimes for ball tournaments. In: Proceedings of the 33rd European Workshop on Computational Geometry, pp. 221–224 (2017)

    Google Scholar 

  9. Guibas, L.: Kinetic data structures. In: Mehta, D.P., Sahni, S. (eds.) Handbook of Data Structures and Applications, pp. 23:1–23:18. CRC Press, Boca Raton (2004)

    Google Scholar 

  10. Mehlhorn, K.: Data Structures and Algorithms 1: Sorting and Searching. Springer, Heidelberg (1984). https://doi.org/10.1007/978-3-642-69672-5

    Book  MATH  Google Scholar 

  11. Nievergelt, J., Reingold, E.M.: Binary search trees of bounded balance. SIAM J. Comput. 2(1), 33–43 (1973)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Thom Castermans .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Castermans, T., Speckmann, B., Staals, F., Verbeek, K. (2018). Agglomerative Clustering of Growing Squares. In: Bender, M., Farach-Colton, M., Mosteiro, M. (eds) LATIN 2018: Theoretical Informatics. LATIN 2018. Lecture Notes in Computer Science(), vol 10807. Springer, Cham. https://doi.org/10.1007/978-3-319-77404-6_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-77404-6_20

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-77403-9

  • Online ISBN: 978-3-319-77404-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics