Skip to main content

In-Place Randomized Slope Selection

  • Conference paper

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

Abstract

Slope selection is a well-known algorithmic tool used in the context of computing robust estimators for fitting a line to a collection \(\mathcal{P}\) of n points in the plane. We demonstrate that it is possible to perform slope selection in expected \(\mathcal{O}{(n \log n)}\) time using only constant extra space in addition to the space needed for representing the input. Our solution is based upon a space-efficient variant of Matoušek’s randomized interpolation search, and we believe that the techniques developed in this paper will prove helpful in the design of space-efficient randomized algorithms using samples. To underline this, we also sketch how to compute the repeated median line estimator in an in-place setting.

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 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bose, P., Maheshwari, A., Morin, P., Morrison, J., Smid, M., Vahrenhold, J.: Space-efficient geometric divide-and-conquer algorithms. Computational Geometry: Theory & Applications (2006), To appear, accepted November 2004

    Google Scholar 

  2. Brönnimann, H., Chan, T.M.-Y.: Space-efficient algorithms for computing the convex hull of a simple polygonal line in linear time. Computational Geometry: Theory & Applications (in press, 2006)

    Google Scholar 

  3. Brönnimann, H., Chan, T.M.-Y., Chen, E.Y.: Towards in-place geometric algorithms. In: Proc. 20th Symp. Computational Geometry, pp. 239–246 (2004)

    Google Scholar 

  4. Brönnimann, H., Chazelle, B.M.: Optimal slope selection via cuttings. Computational Geometry: Theory and Applications 10(1), 23–29 (1998)

    MATH  MathSciNet  Google Scholar 

  5. Brönnimann, H., Iacono, J., Katajainen, J., Morin, P., Morrison, J., Toussaint, G.T.: Space-efficient planar convex hull algorithms. Theoretical Computer Science 321(1), 25–40 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  6. Cole, R., Salowe, J.S., Steiger, W.L., Szemerédi, E.: An optimal-time algorithm for slope selection. SIAM J. Computing 18(4), 792–810 (1989)

    Article  MATH  Google Scholar 

  7. Dillencourt, M.B., Mount, D.M., Nethanyahu, N.S.: A randomized algorithm for slope selection. Intl. J. Computational Geometry and Applications 2(1), 1–27 (1992)

    Article  MATH  Google Scholar 

  8. Edelsbrunner, H.: Algorithms in Combinatorial Geometry. Springer, Berlin (1987)

    MATH  Google Scholar 

  9. Geffert, V., Katajainen, J., Pasanen, T.: Asymptotically efficient in-place merging. Theoretical Computer Science 237(1–2), 159–181 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  10. Huber, P.: Robust Statistics. Wiley, New York (1981)

    Book  MATH  Google Scholar 

  11. Katz, M.J., Sharir, M.: Optimal slope selection via expanders. Information Processing Letters 47(3), 115–122 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  12. Kleinberg, J., Tardos, É.: Algorithm Design. Addison-Wesley, Boston (2006)

    Google Scholar 

  13. Matoušek, J.: Randomized optimal algorithm for slope selection. Information Processing Letters 39(4), 183–187 (1991)

    Article  MATH  MathSciNet  Google Scholar 

  14. Matoušek, J., Mount, D.M., Nethanyahu, N.S.: Efficient randomized algorithms for the repeated median line estimator. Algorithmica 20(2), 136–150 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  15. Megiddo, N.: Applying parallel computation algorithms in the design of serial algorithms. J. ACM 30(4), 852–865 (1983)

    Article  MATH  MathSciNet  Google Scholar 

  16. Munro, J.I.: An implicit data structure supporting insertion, deletion, and search in O(log2 n) time. J. Computer and System Sciences 33(1), 66–74 (1986)

    Article  MATH  MathSciNet  Google Scholar 

  17. Shafer, L., Steiger, W.L.: Randomizing optimal geometric algorithms. In: Proc. 5th Canadian Conference on Computational Geometry, pp. 133–138 (1993)

    Google Scholar 

  18. Vahrenhold, J.: Line-segment intersection made in-place. In: Dehne, F., López-Ortiz, A., Sack, J.-R. (eds.) WADS 2005. LNCS, vol. 3608, pp. 146–157. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  19. Williams, J.W.J.: Algorithm 232: Heapsort. Comm. ACM 7(6), 347–348 (1964)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Blunck, H., Vahrenhold, J. (2006). In-Place Randomized Slope Selection. In: Calamoneri, T., Finocchi, I., Italiano, G.F. (eds) Algorithms and Complexity. CIAC 2006. Lecture Notes in Computer Science, vol 3998. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11758471_6

Download citation

  • DOI: https://doi.org/10.1007/11758471_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-34375-2

  • Online ISBN: 978-3-540-34378-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics