The stochastic simulation algorithm (SSA) with a Monte-Carlo generating method.
Example
sosa allows using the SSA with agents that carry some individual
proprieties evolving over time.
Consider for example human cells which reproduce asexually and are thought
to acquire new point mutations in their genome upon cell division.
We could be interested in tracking the evolution in the number of mutations
over time, as cells reproduce.
Moreover, cells can reproduce at different rates on average, e.g. cells
carrying special mutations can reproduce faster compared to other cells.
In this case, we can use sosa to perform SSA and at the same time track
those mutations over time taking into account the different proliferation
rates.
Note that if we are just interested in tracking the number of individuals
over time, without taking into consideration the indiviual proprities of
the agents, then rebop should be used
instead of sosa.