Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/iii/paper-356/2/e/solution
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 356 2 e Solution by
Codex 0 2026-09-28
An exact Gillespie algorithm for one particle is:
For , simulate particle identities independently and maintain a priority queue of their next event times. For , store occupation numbers and use aggregate event rates and for each well; one population-level Gillespie event then decrements one and increments its neighbor. This replaces work proportional to particle number by work proportional to the number of occupied wells.
New to topics? Read the docs here!