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.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
A. Amir. A pearl diver deals a poker hand. Intl. J. of Computer Mathematics, 48(1+2):11–14, 1993.
A. Amir and D. Mintz. An efficient algorithm for generalized random sampling. Pattern Recognition Letters, 12:683–686, 1991.
J. Bentley. Programming pearls — a little program, a lot of fun. Comm. of ACM, pages 1179–1182, 1984.
J. Bentley and R. Floyd. Programming pearls — a sample of brilliance. Comm. of ACM, pages 754–757, 1987.
J. Bentley and D. Gries. Programming pearls — abstract data types. Comm. of ACM, pages 284–290, 1987.
J. Bentley and D. Knuth. Programming pearls — literate programming. Comm. of ACM, pages 364–369, 1986.
M. Chrobak and R. Harter. A note on random sampling. Inform. Process. Lett., 29:255–256, 1988.
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.
G. M. Knott. A numbering system for combinations. Comm. of ACM, pages 45–46, 1974.
D. H. Lehmer. Applied Combinatorial Mathematics, chapter The Machine Tool of Combinatorics. Wiley, New York, 1964.
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.
A. Nijenhuis and H. Wilf. Combinatorial Algorithms. Academic Press, New York, 2nd edition, 1978.
V. Rajan, R. K. Ghosh, and P. Gupta. An efficient parallel algorithm for random sampling. Inform. Process. Lett., 30:265–268, 1989.
P. J. Rousseuw and A. M. Leroy. Robust Regression and Outlier Detection. Wiley, New York, 1987.
A. Schönhage and V. Strassen. Schnelle multiplikation grosser zahlen. Computing (Arch. Elektron. Rechnen), 7:281–292, 1971. MR 45 # 1431.
A. Tirumalai and B. G. Schunck. Robust surface approximation using least median squares regression. Technical Report CSE-TR-13-89, University of Michigan, 1989.
Author information
Authors and Affiliations
Editor information
Rights 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