Skip to main content

Worst Case Optimal Union-Intersection Expression Evaluation

  • Conference paper
Automata, Languages and Programming (ICALP 2005)

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

Included in the following conference series:

Abstract

We consider the problem of evaluating an expression consisting of unions and intersections of some sorted sets. Given the expression and the sizes of the sets, we are interested in the worst-case complexity of evaluating the expression in terms of the sizes of the sets. We assume no set is repeated in the expression. We show a lower bound on this problem and present an algorithm that matches the lower bound asymptotically.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Brin, S., Page, L.: The anatomy of a large-scale hypertextual web search engine. In: Proceedings of the seventh international conference on World Wide Web, vol. 7, pp. 107–117. Elsevier Science Publishers B. V, Amsterdam (1998)

    Google Scholar 

  2. Brown, M.R., Tarjan, R.E.: A fast merging algorithm. J. ACM 26(2), 211–226 (1979)

    Article  MATH  MathSciNet  Google Scholar 

  3. Brown, M.R., Tarjan, R.E.: Design and analysis of a data structure for representing sorted lists. SIAM Journal of Computing 9(3), 594–614 (1980)

    Article  MATH  MathSciNet  Google Scholar 

  4. Demaine, E.D., Lopez-Ortiz, A., Munro, J.I.: Adaptive set intersections, unions, and differences. In: Proc. of Eleventh ACM-SIAM Symposium on Discrete Algorithms, SODA, pp. 743–752 (2000)

    Google Scholar 

  5. Hwang, F.K., Lin, S.: A simple algorithm for merging two disjoint linearly ordered sets. SIAM Journal on Computing 1(1), 31–39 (1972)

    Article  MATH  MathSciNet  Google Scholar 

  6. Lee, G., Park, M., Won, H.: Using syntactic information in handling natural language quries for extended boolean retrieval model. In: Proceedings of the 4th international workshop on information retrieval with Asian languages (1999)

    Google Scholar 

  7. Mauldin, M.I.Lycos Inc., and PA Pittsburgh. Lycos: design choices in an internet search service. IEEE Expert, 12(1):8–11, 1997.

    Google Scholar 

  8. Mirzazadeh, M.: Adaptive comparison-based algorithms for evaluating set queries. Master’s thesis, School of Computer Science, University of Waterloo (2004)

    Google Scholar 

  9. Pugh, W.: A skip list cookbook. Technical Report CS-TR-2286.1, University of Maryland (1990)

    Google Scholar 

  10. Rivest, R.L., Leiserson, C.E.: Introduction to Algorithms. McGraw-Hill, Inc., New York (1990)

    MATH  Google Scholar 

  11. Witten, I.H., Bell, T.C., Moffat, A.: Managing Gigabytes: Compressing and Indexing Documents and Images. John Wiley & Sons, Inc., Chichester (1994)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Chiniforooshan, E., Farzan, A., Mirzazadeh, M. (2005). Worst Case Optimal Union-Intersection Expression Evaluation. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds) Automata, Languages and Programming. ICALP 2005. Lecture Notes in Computer Science, vol 3580. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11523468_15

Download citation

  • DOI: https://doi.org/10.1007/11523468_15

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-27580-0

  • Online ISBN: 978-3-540-31691-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics