Skip to main content

Maintaining discrete probability distributions optimally

  • Conference paper
  • First Online:
Automata, Languages and Programming (ICALP 1993)

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

Included in the following conference series:

Abstract

Consider a distribution as an abstract data type that represents a probability distribution f on a finite set and supports a generate operation, which returns a random value distributed according to f and independent of the values returned by previous calls. We study the implementation of dynamic distributions, which additionally support changes to the probability distribution through update operations, and show how to realize distributions on {1,..., n} with constant expected generate time, constant update time, O(n) space, and O(n) initialization time. We also consider generalized distributions, whose values need not sum to 1, and obtain similar results.

Supported by the ESPRIT Basic Research Actions Program of the EC under contract No. 7141 (project ALCOM II). The research was carried out in part while the first author was with the Departament de LSI of the Universitat Politècnica de Catalunya in Barcelona, Spain, and in part while the third author was visiting the MPI für Informatik.

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.

References

  1. P. Bratley, B. L. Fox, and L.E. Schrage, A Guide to Simulation (2nd ed.), Springer-Verlag, 1987.

    Google Scholar 

  2. B.L. Fox, Generating Markov-chain transitions quickly: I, Operations Research Society of America Journal on Computing 2 (1990), pp. 126–135.

    Google Scholar 

  3. L. Kleinrock, Queueing Systems. Vol. 1: Theory, John Wiley & Sons, 1975.

    Google Scholar 

  4. Y. Matias, J. S. Vitter, and W. C. Ni, Dynamic generation of discrete random variates, In Proc. 4th Annual ACM-SIAM Symposium on Discrete Algorithms (1993), pp. 361–370.

    Google Scholar 

  5. M.H. Overmars and J. van Leeuwen, Worst-case optimal insertion and deletion methods for decomposable searching problems, Information Processing Letters 12 (1981), pp. 168–173.

    Google Scholar 

  6. W. J. Paul and J. Simon, Decision trees and random access machines, In Proc. International Symposium on Logic and Algorithmic, Zürich (1980), pp. 331–340.

    Google Scholar 

  7. S. Rajasekaran and K. W. Ross, Fast algorithms for generating discrete random variates with changing distributions, Technical Report No. MS-CIS-91-52, Dept. of CIS, Univ. of Pennsylvania, 1991.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Andrzej Lingas Rolf Karlsson Svante Carlsson

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hagerup, T., Mehlhorn, K., Munro, J.I. (1993). Maintaining discrete probability distributions optimally. In: Lingas, A., Karlsson, R., Carlsson, S. (eds) Automata, Languages and Programming. ICALP 1993. Lecture Notes in Computer Science, vol 700. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-56939-1_77

Download citation

  • DOI: https://doi.org/10.1007/3-540-56939-1_77

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-56939-8

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics