Skip to main content

Online Maintenance of k-Medians and k-Covers on a Line

  • Conference paper
Book cover Algorithm Theory - SWAT 2004 (SWAT 2004)

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

Included in the following conference series:

Abstract

The standard dynamic programming solution to finding k-medians on a line with n nodes requires O(kn 2) time. Dynamic programming speed-up techniques, e.g., use of the quadrangle inequality or properties of totally monotone matrices, can reduce this to O(kn) time but these techniques are inherently static. The major result of this paper is to show that we can maintain the dynamic programming speedup in an online setting where points are added from left to right on a line. Computing the new k-medians after adding a new point takes only O(k) amortized time and O(k log n) worst case time (simultaneously). Using similar techniques, we can also solve the online k -coverage with uniform coverage on a line problem with the same time bounds.

This work partially supported by Hong Kong RGC grants HKUST6010/01E, HKUST6162/00E, HKUST6082/01E and HKUST6206/02. The authors would like to thank Gerhard Trippen for his help in proofreading and latexing the figures.

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 39.99
Price excludes VAT (USA)
  • Available as 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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aggarwal, A., Klawe, M., Moran, S., Shor, P., Wilber, R.: Geometric applications of a matrix-searching algorithm. Algorithmica 2(2), 195–208 (1987)

    Article  MATH  MathSciNet  Google Scholar 

  2. Arora, S., Raghavan, P., Rao, S.: Approximation schemes for Euclidean k-medians and related problems. In: Proceedings of the 30th Annual ACM Symposium on the Theory of Computing, pp. 106–113 (1998)

    Google Scholar 

  3. Auletta, V., Parente, D., Persiano, G.: Placing resources on a growing line. Journal of Algorithms 26, 87–100 (1998)

    MATH  MathSciNet  Google Scholar 

  4. Charikar, M., Guha, S., Tardos, E., Shmoys, D.B.: A constant-factor approximation algorithm for the k-median problem. Journal Computer System Sciences 65, 129–149 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  5. Guha, S., Khuller, S.: Greedy strikes back: improved facility location algorithms. In: Proceedings of the 9th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 1998), pp. 649–657 (1998)

    Google Scholar 

  6. Hassin, R., Tamir, A.: Improved complexity bounds for location problems on the real line. Operations Research Letters 10, 395–402 (1991)

    Article  MATH  MathSciNet  Google Scholar 

  7. Lin, J.-H., Vitter, J.S.: ε-approximations with minimum packing constraint violation. In: Proceedings of the 24th Annual ACM Symposium on the Theory of Computing, pp. 771–782 (1992)

    Google Scholar 

  8. Tamir, A.: An O(pn2) algorithm for the p-median and related problems on tree graphs. Operations Research Letters 19, 59–64 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  9. Wilber, R.: The concave least-weight subsequence problem revisited. Journal of Algorithms 9, 418–425 (1988)

    Article  MATH  MathSciNet  Google Scholar 

  10. Vigneron, A., Gao, L., Golin, M., Italiano, G., Li, B.: An algorithm for finding a k-median in a directed tree. Information Processing Letters 74, 81–88 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  11. Woeginger, G.: Monge strikes again: optimal placement of web proxies in the internet. Operations Research Letters 27, 93–96 (2000)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Fleischer, R., Golin, M.J., Zhang, Y. (2004). Online Maintenance of k-Medians and k-Covers on a Line. In: Hagerup, T., Katajainen, J. (eds) Algorithm Theory - SWAT 2004. SWAT 2004. Lecture Notes in Computer Science, vol 3111. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-27810-8_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-27810-8_10

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22339-9

  • Online ISBN: 978-3-540-27810-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics