Skip to main content

An improved deterministic algorithm for generalized random sampling

  • Regular Presentations
  • Conference paper
  • First Online:
Algorithms and Complexity (CIAC 1997)

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

Included in the following conference series:

  • 124 Accesses

Abstract

We consider the problem of deterministically selecting s uniformly random different m-element subsets of {1,..., k}. The only known lower bound for the time to solve this problem is the trivial Ω(sm). The best two previously known solutions are of time O(sm 3 log m log log m) and O(s(k+m)), respectivly. In this paper we present an algorithm whose time comlexity is O(s 2 m 2+sm 2 log m log log m + sm log sm). Thus, for s<m log m log log m this algorithm is the fastest known deterministic algorithm.

The main idea of the algorithm is using a uniform random number generator to efficiently construct biased random numbers.

Partially support by NSF grant CCR-92-23699 and Israel Ministry of Science and Arts grant 6297.

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.

Similar content being viewed by others

References

  1. A. Amir. A pearl diver deals a poker hand. Intl. J. of Computer Mathematics, 48(1+2):11–14, 1993.

    Google Scholar 

  2. A. Amir and D. Mintz. An efficient algorithm for generalized random sampling. Pattern Recognition Letters, 12:683–686, 1991.

    Google Scholar 

  3. J. Bentley. Programming pearls — a little program, a lot of fun. Comm. of ACM, pages 1179–1182, 1984.

    Google Scholar 

  4. J. Bentley and R. Floyd. Programming pearls — a sample of brilliance. Comm. of ACM, pages 754–757, 1987.

    Google Scholar 

  5. J. Bentley and D. Gries. Programming pearls — abstract data types. Comm. of ACM, pages 284–290, 1987.

    Google Scholar 

  6. J. Bentley and D. Knuth. Programming pearls — literate programming. Comm. of ACM, pages 364–369, 1986.

    Google Scholar 

  7. M. Chrobak and R. Harter. A note on random sampling. Inform. Process. Lett., 29:255–256, 1988.

    Google Scholar 

  8. M. A. Fischler and R. C. Bolles. Random sampling consensus: a paradigm for model fitting with applications to image analysis and automated cartography. Comm. of ACM, June 1981.

    Google Scholar 

  9. G. M. Knott. A numbering system for combinations. Comm. of ACM, pages 45–46, 1974.

    Google Scholar 

  10. D. H. Lehmer. Applied Combinatorial Mathematics, chapter The Machine Tool of Combinatorics. Wiley, New York, 1964.

    Google Scholar 

  11. P. Meer, D. Mintz, and A. Rozenfeld. Least median of squares based robust analysis of image structure. In Proc. Image Understanding Workshop, Pittsburgh, PA, Sept. 1990.

    Google Scholar 

  12. A. Nijenhuis and H. Wilf. Combinatorial Algorithms. Academic Press, New York, 2nd edition, 1978.

    Google Scholar 

  13. V. Rajan, R. K. Ghosh, and P. Gupta. An efficient parallel algorithm for random sampling. Inform. Process. Lett., 30:265–268, 1989.

    Google Scholar 

  14. P. J. Rousseuw and A. M. Leroy. Robust Regression and Outlier Detection. Wiley, New York, 1987.

    Google Scholar 

  15. A. Schönhage and V. Strassen. Schnelle multiplikation grosser zahlen. Computing (Arch. Elektron. Rechnen), 7:281–292, 1971. MR 45 # 1431.

    Google Scholar 

  16. A. Tirumalai and B. G. Schunck. Robust surface approximation using least median squares regression. Technical Report CSE-TR-13-89, University of Michigan, 1989.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Giancarlo Bongiovanni Daniel Pierre Bovet Giuseppe Di Battista

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Amir, A., Dar, E. (1997). An improved deterministic algorithm for generalized random sampling. In: Bongiovanni, G., Bovet, D.P., Di Battista, G. (eds) Algorithms and Complexity. CIAC 1997. Lecture Notes in Computer Science, vol 1203. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-62592-5_69

Download citation

  • DOI: https://doi.org/10.1007/3-540-62592-5_69

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-62592-6

  • Online ISBN: 978-3-540-68323-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics