Skip to main content
. 2003 Dec;85(6):3460–3474. doi: 10.1016/S0006-3495(03)74767-5

FIGURE 17.

FIGURE 17

To choose randomly the transition μ by which the system escapes from the present state Inline graphic we set up an array V containing the cumulative rates, i.e., V[0] = 0, V[1] = V[0] + A1 = V[0] + λ, V[2] = V[1] + A2 = V[1] + dx, V[3] = V[2] + A3 = V[3] + ayn, etc. Then we draw an equidistributed random number RND from the interval Inline graphic. The process i for which V[i − 1] < RNDV[i] is chosen to be the next process.