目前最流行的基于Markov链产生随机数的算法为Metropolis-Hastings算法。由Metropolis1953年提出并由Hastings1970年加以推广。(Metropolis, N et.al, (1953). Equations of state calculation by fast computing machines,Journal of Chemical Physics,1087-1092. Hastings, W. K. (1970) Monto Carlo sampling methods using Markov chains and their applications, Biometrika,97-109.)