Skip to main content

Probabilistic analysis of set operations with constant-time set equality test

  • Theory Of Computing, Algorithms And Programming
  • Conference paper
  • First Online:
Advances in Computing and Information — ICCI '90 (ICCI 1990)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 468))

Included in the following conference series:

Abstract

We analyze the implementation of set operations using binary tries. Our techniques are substantially simpler than previous techniques used for this problem, and allow us to analysis not only the expected performance but also the probability distribution of the performance. We show that by making use of constant-time equality tests, we can achieve better performance than any previously known method for performing set operations. In particular, for two sets A and B of n elements that differ in only k elements, we can perform any set operation such as AB in only O(k log n) expected time (without knowing in advance anything about the differences between A and B).

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. John Allen. Anatomy of LISP, McGraw Hill Book Company, NY, 1978.

    Google Scholar 

  2. Daniel Yellin, Representing Sets with Constant Time Equality Testing, ACM-SIAM Symposium on Discrete Algorithms, 64–73. January 1990.

    Google Scholar 

  3. Eiichi Goto and Yasumasa Kanada. Hashing Lemmas on Time Complexities with Applications to Formula Manipulation, Proceedings of the 1976 ACM Symposium on Symbolic and Algebraic Computation, pp 154–158.

    Google Scholar 

  4. Luis Isidoro Trabb Pardo. Set Representation and Set Intersection, Ph.D. thesis, Stanford University, 1978

    Google Scholar 

  5. M. Sassa and E. Goto. A hashing method for fast set operations. Inf. Proc. Let. 5(2):31–34, June 1976.

    Google Scholar 

  6. J.M. Spitzen and K.N. Levitt. An example of hierarchical design and proof, Communications of the ACM, 21(12):1064–1075, December 1978.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

S. G. Akl F. Fiala W. W. Koczkodaj

Rights and permissions

Reprints and permissions

Copyright information

© 1991 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pugh, W. (1991). Probabilistic analysis of set operations with constant-time set equality test. In: Akl, S.G., Fiala, F., Koczkodaj, W.W. (eds) Advances in Computing and Information — ICCI '90. ICCI 1990. Lecture Notes in Computer Science, vol 468. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-53504-7_62

Download citation

  • DOI: https://doi.org/10.1007/3-540-53504-7_62

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-53504-1

  • Online ISBN: 978-3-540-46677-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics