background preloader

Gillespie Algorithm

Facebook Twitter

C code. Ubuntu Start Page. Gmail: Email from Google. Introduction to Modeling for Biosciences - David J. Barnes, Dominique Chu. Untitled. Gillespie SSA for Matlab. Untitled. 4.2.1 Numerical Methods – Gillespie’s Algorithm. D.1 Examples of Gillespie’s direct method. Untitled. Python recipe ssa. Vanilla C code for the Stochastic Simulation Algorithm. Fast(?) Gillespies Direct Algorithm in Python. Today I took the day off to implement the Gillespie SSA algorithm.

Fast(?) Gillespies Direct Algorithm in Python

For those of you who have never heard of it is a solver for stochastic equations. There is no implementation of it in Python (to my knowledge) and the only other easily accessible implementation I found was the one on the GillespieSSA package for R. To help the unfamiliar to understand the application and relevance of this algorithm, consider the following dynamical system derived from an epidemiological problem: Suppose an infected individual arrives in his home town after his/her vacation carrying an infectious disease entirely new to his fellow citizens.

This means no one in town has antibodies for that disease.