A fast, general-purpose C++ framework for agent-based epidemiological simulation.
Try It Live¶
Edit the code below and click βΆ Run to compile and execute it in your browser via Compiler Explorer. No local setup needed!
Lightning Fast¶
Over 150 million agent Γ day simulations per second β built for large-scale studies without sacrificing speed.
Fully Flexible¶
Define arbitrary states, viruses, tools, and update rules. Build the exact model you need from composable primitives.
Header-Only¶
Single-file include with zero external dependencies β just the C++ standard library. Drop it in and go.
Network-Aware¶
Simulations run on contact networks with configurable topologies including small-world, scale-free, and custom graphs.
Multi-Pathogen¶
Multiple viruses and tools can coexist in one simulation with independent transmission and recovery dynamics.
Rich Analytics¶
Built-in data collection, reproductive number tracking, generation intervals, and likelihood-free inference (LFMCMC).
Documentation Sections¶
-
Models
Browse all built-in compartmental models: SIR, SEIR, SIS, connected population variants, mixing models, and disease-specific models.
-
Examples
Explore ready-to-run examples β from a basic Hello World to likelihood-free MCMC β each with an interactive Compiler Explorer playground.
-
Implementation
Deep dives into library architecture, performance optimization, extending the library, queueing system, and more.
-
API Reference
Complete class and function reference generated from the source code via Doxygen.
Source Code¶
The epiworld source code is hosted at UofUEpiBio/epiworld on GitHub.
