Mean-field interacting multi-type birth–death processes with a view to applications in phylodynamics | Synapse