首页> 外文期刊>PLoS Computational Biology >Temporal Gillespie Algorithm: Fast Simulation of Contagion Processes on Time-Varying Networks
【24h】

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

机译:时间Gillespie算法:时变网络上传染过程的快速仿真

获取原文
       

摘要

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算法。我们的方法适用于时间网络上的一般Poisson(恒定速率)过程,具有随机精确性,并且比基于拒绝采样的传统仿真方案快高达多个数量级。我们还将展示如何扩展它以模拟非马尔可夫过程。该算法很容易在实践中应用,作为说明,我们详细介绍了如何模拟流行病的泊松模型和非马尔可夫模型。即,我们提供了伪代码及其在C ++中的实现,用于模拟范式敏感感染-易感染和敏感感染-恢复的模型以及具有非恒定恢复率的敏感感染-恢复的模型。对于经验网络,这里的时间Gillespie算法通常比拒绝采样快10到100倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号