## Gillespie algorithm

the reverse process of the gene between the two Loxp sites could not be well described by the DDE or ODE equations since after the reverse process, the gene will have chance to flip again. This process is a discrete, stochastic process instead of a continuous, deterministic process. To make the model more convincing, we use Gillespie algorithm, which is a kind of stochastic simulation algorithm to generate a statistically correct trajectory (possible solution) of a stochastic equation.readmore