Maintaining Discrete Probability Distributions Optimally

Torben Hagerup, Kurt Mehlhorn, J. Ian MunroICALP 1993

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.
BibTeX
@inproceedings{hagerup1993maintaining,
  author = {Torben Hagerup and Kurt Mehlhorn and J. Ian Munro},
  title = {{Maintaining Discrete Probability Distributions Optimally}},
  booktitle = {ICALP},
  year = {1993},
  url = {https://openreview.net/forum?id=HcYYhwQcE1P},
}

Loading related content...

Figure