Advertisement

Concatenable segment trees

extended abstract
  • Marc J. van Kreveld
  • Mark H. Overmars
Contributed Papers Graph Algorithms
Part of the Lecture Notes in Computer Science book series (LNCS, volume 349)

Abstract

In this paper a variant of a segment tree is devised on which, in addition to insertions, deletions and stabbing queries, the operations concatenate and split can be performed efficiently. Insertions, concatenations and splits take O(log n) time, deletions take O(log2n) time, stabbing queries take O(k + log n) time (where k is the number of answers to the query), and the structure uses O(n log n) space to store. The technique is based on a new general data structure that stores sets of objects, the union-copy structure, on which the operations union (of two sets), copy (of a set), insert (of an object in one or more sets), delete (of an object from all sets in which it occurs) and enumerate (of a set) can be performed efficiently.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [1]
    Aho, A.V., J.E. Hopcroft and J.D. Ullman, The design and analysis of computer algorithms, Addison-Wesley, Reading, Mass., 1974.Google Scholar
  2. [2]
    Bentley, J.L., Decomposable searching problems, Inform. Proc. Lett. 8 (1979), pp. 244–251.Google Scholar
  3. [3]
    Bentley, J.L., and D. Wood, An optimal algorithm for reporting intersections of rectangles, IEEE Trans. on Computers C-29 (1980), pp. 571–577.Google Scholar
  4. [4]
    Edelsbrunner, H., Dynamic data structures for orthogonal intersection queries, Rep. F59, Tech. Univ. Graz, Institute für Informationsverarbeitung, 1980.Google Scholar
  5. [5]
    Halperin, D., and M. Sharir, private communication.Google Scholar
  6. [6]
    Mehlhorn, K., Data structures and algorithms 1: sorting and searching, Springer-Verlag, Berlin, 1984.Google Scholar
  7. [7]
    Mehlhorn, K., Data structures and algorithms 3: multi-dimensional searching and computational geometry, Springer-Verlag, Berlin, 1984.Google Scholar
  8. [8]
    Overmars, M.H., The design of dynamic data structures, Lect. Notes in Comp. Science Vol. 156, Springer-Verlag, 1983.Google Scholar
  9. [9]
    Overmars, M.H., and J. van Leeuwen, Dynamic multi-dimensional data structures based on quad-and k-d trees, Acta Inform. 17 (1982), pp. 267–285.Google Scholar
  10. [10]
    Preparata, F.P., and M.I. Shamos, Computational geometry, an introduction, Springer-Verlag, New York, 1985.Google Scholar
  11. [11]
    van Kreveld, M.J., and M.H. Overmars, Divided k-d trees, Techn. Rep. RUU-CS-88-28, Dept. of Computer Science, University of Utrecht, 1988.Google Scholar
  12. [12]
    van Kreveld, M.J., and M.H. Overmars, Concatenable structures for decomposable searching problems, Techn. Rep., Dept. of Computer Science, University of Utrecht, 1988, to appear.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1989

Authors and Affiliations

  • Marc J. van Kreveld
    • 1
  • Mark H. Overmars
    • 1
  1. 1.Department of Computer ScienceUniversity of UtrechtUtrechtthe Netherlands

Personalised recommendations