Skip to main content
. 2017 Dec 21;20(1):1. doi: 10.3390/e20010001
Algorithm 1 Rejection sampling.
  • repeat

  •     xp0(x)

  •     uUniform[0,1]

  •     if uexp(β(ΔU(x)T)) then accept

  • until accept

  • return x