sosa

Crates.iososa
lib.rssosa
version3.0.5
created_at2023-04-07 18:39:19.056435+00
updated_at2025-12-09 12:06:37.733394+00
descriptionStochastic simulation algorithm (SSA) with a Monte-Carlo generating method
homepage
repositoryhttps://github.com/fraterenz/sosa
max_upload_size
id833106
size33,178
Francesco Terenzi (fraterenz)

documentation

README

SOSA

This crate implements the stochastic simulation algorithm (aka Gillespie mehtod) with the Monte Carlo method.

This provides the building block for simulating agents evolving over time (see docs). The user only needs to define how the simulated system evolves upon a single iteration by implementing the trait AdvanceStep. Once this trait is implemented, a simulation loop can be called with simulate, see the example.

Commit count: 11

cargo fmt