• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

时态 Gillespie 算法:时变网络上传染过程的快速模拟

Temporal Gillespie Algorithm: Fast Simulation of Contagion Processes on Time-Varying Networks.

作者信息

Vestergaard Christian L, Génois Mathieu

机构信息

Aix Marseille Université, Université de Toulon, CNRS, CPT, UMR 7332, Marseille, France.

出版信息

PLoS Comput Biol. 2015 Oct 30;11(10):e1004579. doi: 10.1371/journal.pcbi.1004579. eCollection 2015 Oct.

DOI:10.1371/journal.pcbi.1004579
PMID:26517860
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC4627738/
Abstract

Stochastic simulations are one of the cornerstones of the analysis of dynamical processes on complex networks, and are often the only accessible way to explore their behavior. The development of fast algorithms is paramount to allow large-scale simulations. The Gillespie algorithm can be used for fast simulation of stochastic processes, and variants of it have been applied to simulate dynamical processes on static networks. However, its adaptation to temporal networks remains non-trivial. We here present a temporal Gillespie algorithm that solves this problem. Our method is applicable to general Poisson (constant-rate) processes on temporal networks, stochastically exact, and up to multiple orders of magnitude faster than traditional simulation schemes based on rejection sampling. We also show how it can be extended to simulate non-Markovian processes. The algorithm is easily applicable in practice, and as an illustration we detail how to simulate both Poissonian and non-Markovian models of epidemic spreading. Namely, we provide pseudocode and its implementation in C++ for simulating the paradigmatic Susceptible-Infected-Susceptible and Susceptible-Infected-Recovered models and a Susceptible-Infected-Recovered model with non-constant recovery rates. For empirical networks, the temporal Gillespie algorithm is here typically from 10 to 100 times faster than rejection sampling.

摘要

随机模拟是复杂网络动态过程分析的基石之一,并且常常是探索其行为的唯一可行方法。快速算法的开发对于进行大规模模拟至关重要。 Gillespie算法可用于随机过程的快速模拟,其变体已被应用于模拟静态网络上的动态过程。然而,将其应用于时态网络仍然并非易事。我们在此提出一种时态Gillespie算法来解决这个问题。我们的方法适用于时态网络上的一般泊松(恒定速率)过程,具有随机精确性,并且比基于拒绝采样的传统模拟方案快多个数量级。我们还展示了如何将其扩展以模拟非马尔可夫过程。该算法在实践中易于应用,作为示例,我们详细说明如何模拟流行病传播的泊松模型和非马尔可夫模型。具体而言,我们提供了用于模拟典型的易感-感染-易感和易感-感染-康复模型以及具有非恒定康复率的易感-感染-康复模型的伪代码及其C++实现。对于实证网络,时态Gillespie算法在此通常比拒绝采样快10到100倍。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/8e769039ea7b/pcbi.1004579.g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/c56f30c3ef11/pcbi.1004579.g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/eecbf6e01205/pcbi.1004579.g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/7957fd786562/pcbi.1004579.g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/c559403116ce/pcbi.1004579.g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/b7797b37b254/pcbi.1004579.g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/44192bbe4fa0/pcbi.1004579.g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/dd12020a45e7/pcbi.1004579.g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/8e769039ea7b/pcbi.1004579.g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/c56f30c3ef11/pcbi.1004579.g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/eecbf6e01205/pcbi.1004579.g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/7957fd786562/pcbi.1004579.g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/c559403116ce/pcbi.1004579.g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/b7797b37b254/pcbi.1004579.g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/44192bbe4fa0/pcbi.1004579.g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/dd12020a45e7/pcbi.1004579.g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/91bb/4627738/8e769039ea7b/pcbi.1004579.g008.jpg

相似文献

1
Temporal Gillespie Algorithm: Fast Simulation of Contagion Processes on Time-Varying Networks.时态 Gillespie 算法:时变网络上传染过程的快速模拟
PLoS Comput Biol. 2015 Oct 30;11(10):e1004579. doi: 10.1371/journal.pcbi.1004579. eCollection 2015 Oct.
2
Epidemic spreading in annealed directed networks: susceptible-infected-susceptible model and contact process.退火有向网络中的流行病传播:易感-感染-易感模型与接触过程。
Phys Rev E Stat Nonlin Soft Matter Phys. 2013 Jan;87(1):012813. doi: 10.1103/PhysRevE.87.012813. Epub 2013 Jan 25.
3
Simulating non-Markovian stochastic processes.模拟非马尔可夫随机过程。
Phys Rev E Stat Nonlin Soft Matter Phys. 2014 Oct;90(4):042108. doi: 10.1103/PhysRevE.90.042108. Epub 2014 Oct 6.
4
Stochastic analysis of epidemics on adaptive time varying networks.自适应时变网络上流行病的随机分析
Phys Rev E Stat Nonlin Soft Matter Phys. 2013 Jun;87(6):062810. doi: 10.1103/PhysRevE.87.062810. Epub 2013 Jun 19.
5
Stochastic fluctuations of the transmission rate in the susceptible-infected-susceptible epidemic model.易感-感染-易感传染病模型中传播率的随机波动
Phys Rev E Stat Nonlin Soft Matter Phys. 2012 Jul;86(1 Pt 1):011919. doi: 10.1103/PhysRevE.86.011919. Epub 2012 Jul 23.
6
Bayesian inference of epidemics on networks via belief propagation.基于信念传播的网络传染病贝叶斯推断。
Phys Rev Lett. 2014 Mar 21;112(11):118701. doi: 10.1103/PhysRevLett.112.118701. Epub 2014 Mar 17.
7
EpiFire: An open source C++ library and application for contact network epidemiology.EpiFire:一个用于接触网络流行病学的开源 C++ 库和应用程序。
BMC Bioinformatics. 2012 May 4;13:76. doi: 10.1186/1471-2105-13-76.
8
Slow update stochastic simulation algorithms for modeling complex biochemical networks.用于对复杂生化网络进行建模的慢速更新随机模拟算法。
Biosystems. 2017 Dec;162:135-146. doi: 10.1016/j.biosystems.2017.10.011. Epub 2017 Nov 1.
9
Identification of Patient Zero in Static and Temporal Networks: Robustness and Limitations.静态网络和时间网络中“零号病人”的识别:稳健性与局限性。
Phys Rev Lett. 2015 Jun 19;114(24):248701. doi: 10.1103/PhysRevLett.114.248701. Epub 2015 Jun 16.
10
Nodal infection in Markovian susceptible-infected-susceptible and susceptible-infected-removed epidemics on networks are non-negatively correlated.网络上马尔可夫易感-感染-易感和易感-感染-移除传染病中的节点感染呈非负相关。
Phys Rev E Stat Nonlin Soft Matter Phys. 2014 May;89(5):052802. doi: 10.1103/PhysRevE.89.052802. Epub 2014 May 1.

引用本文的文献

1
Integrating Human Mobility Models with Epidemic Modeling: A Framework for Generating Synthetic Temporal Contact Networks.将人类流动模型与流行病模型相结合:生成合成时间接触网络的框架。
Entropy (Basel). 2025 May 8;27(5):507. doi: 10.3390/e27050507.
2
Structural inequalities exacerbate infection disparities.结构性不平等加剧了感染差异。
Sci Rep. 2025 Mar 17;15(1):9082. doi: 10.1038/s41598-025-91008-w.
3
Hybrid metapopulation agent-based epidemiological models for efficient insight on the individual scale: A contribution to green computing.

本文引用的文献

1
Modeling ant battles by means of a diffusion-limited Gillespie algorithm.通过扩散限制的 Gillespie 算法对蚂蚁战斗进行建模。
Theor Biol Forum. 2014;107(1-2):57-76.
2
Uncoupled analysis of stochastic reaction networks in fluctuating environments.波动环境中随机反应网络的解耦分析
PLoS Comput Biol. 2014 Dec 4;10(12):e1003942. doi: 10.1371/journal.pcbi.1003942. eCollection 2014 Dec.
3
Simulating non-Markovian stochastic processes.模拟非马尔可夫随机过程。
基于混合集合种群代理的流行病学模型,用于在个体层面进行高效洞察:对绿色计算的贡献。
Infect Dis Model. 2025 Jan 10;10(2):571-590. doi: 10.1016/j.idm.2024.12.015. eCollection 2025 Jun.
4
Dynamic Contact Networks in Confined Spaces: Synthesizing Micro-Level Encounter Patterns through Human Mobility Models from Real-World Data.受限空间中的动态接触网络:通过基于现实世界数据的人类移动模型合成微观层面的相遇模式
Entropy (Basel). 2024 Aug 19;26(8):703. doi: 10.3390/e26080703.
5
The effect of temperature on the boundary conditions of West Nile virus circulation in Europe.温度对欧洲西尼罗河病毒传播边界条件的影响。
PLoS Negl Trop Dis. 2024 May 6;18(5):e0012162. doi: 10.1371/journal.pntd.0012162. eCollection 2024 May.
6
Simulating real-life scenarios to better understand the spread of diseases under different contexts.模拟现实生活场景,以便更好地了解不同情况下疾病的传播。
Sci Rep. 2024 Feb 1;14(1):2694. doi: 10.1038/s41598-024-52903-w.
7
Scalable parallel and distributed simulation of an epidemic on a graph.基于图的可扩展并行分布式传染病模拟。
PLoS One. 2023 Sep 29;18(9):e0291871. doi: 10.1371/journal.pone.0291871. eCollection 2023.
8
Criticality in probabilistic models of spreading dynamics in brain networks: Epileptic seizures.脑网络传播动力学概率模型中的关键问题:癫痫发作。
PLoS Comput Biol. 2023 Feb 7;19(2):e1010852. doi: 10.1371/journal.pcbi.1010852. eCollection 2023 Feb.
9
African swine fever detection and transmission estimates using homogeneous versus heterogeneous model formulation in stochastic simulations within pig premises.利用同质和异质模型公式在猪舍内随机模拟中进行非洲猪瘟检测和传播估计。
Open Vet J. 2022 Nov-Dec;12(6):787-796. doi: 10.5455/OVJ.2022.v12.i6.2. Epub 2022 Nov 5.
10
COVID-19 epidemic under the K-quarantine model: Network approach.K 隔离模型下的 COVID-19 疫情:网络方法
Chaos Solitons Fractals. 2022 Apr;157:111904. doi: 10.1016/j.chaos.2022.111904. Epub 2022 Feb 11.
Phys Rev E Stat Nonlin Soft Matter Phys. 2014 Oct;90(4):042108. doi: 10.1103/PhysRevE.90.042108. Epub 2014 Oct 6.
4
Contact patterns among high school students.高中生之间的接触模式。
PLoS One. 2014 Sep 16;9(9):e107878. doi: 10.1371/journal.pone.0107878. eCollection 2014.
5
Birth and death of links control disease spreading in empirical contact networks.链路的诞生与消亡控制着经验接触网络中的疾病传播。
Sci Rep. 2014 May 23;4:4999. doi: 10.1038/srep04999.
6
Time varying networks and the weakness of strong ties.时变网络与强关系的弱点。
Sci Rep. 2014 Feb 10;4:4001. doi: 10.1038/srep04001.
7
Behavior of susceptible-vaccinated-infected-recovered epidemics with diversity in the infection rate of individuals.个体感染率存在差异的易感-接种-感染-康复流行病行为。
Phys Rev E Stat Nonlin Soft Matter Phys. 2013 Dec;88(6):062805. doi: 10.1103/PhysRevE.88.062805. Epub 2013 Dec 3.
8
Activity clocks: spreading dynamics on temporal networks of human contact.活动时钟:人类接触时间网络上的传播动态
Sci Rep. 2013 Oct 31;3:3099. doi: 10.1038/srep03099.
9
Estimating potential infection transmission routes in hospital wards using wearable proximity sensors.利用可穿戴式接近传感器估算医院病房中的潜在感染传播途径。
PLoS One. 2013 Sep 11;8(9):e73970. doi: 10.1371/journal.pone.0073970. eCollection 2013.
10
The interplay of intrinsic and extrinsic bounded noises in biomolecular networks.生物分子网络中固有和外在有界噪声的相互作用。
PLoS One. 2013;8(2):e51174. doi: 10.1371/journal.pone.0051174. Epub 2013 Feb 21.