Context-Free Grammars and Random Number Generation
暂无分享,去创建一个
In Monte Carlo calculations, one often needs to generate a random quantity X that satisfies certain (cumulative) distribution function F(x), i.e. Pr{X ≤ x} = F(x). Numerous methods have been proposed for this purpose (see Ahrens and Dieter [1], Knuth [4]). An interesting question is: for a given F(x), how difficult is it to generate this distribution?
[1] Joseph F. Traub,et al. Algorithms and Complexity: New Directions and Recent Results , 1976 .
[2] Arto Salomaa,et al. Automata-Theoretic Aspects of Formal Power Series , 1978, Texts and Monographs in Computer Science.
[3] Andrew Chi-Chih Yao,et al. The complexity of nonuniform random number generation , 1976 .
[4] Donald Ervin Knuth,et al. The Art of Computer Programming , 1968 .