网络标志
离散事件仿真
计算机科学
事件(粒子物理)
排队
模拟
分布式计算
程序设计语言
量子力学
物理
作者
Emmet Beeker,Matthew Koehler
出处
期刊:Springer proceedings in complexity
日期:2020-01-01
卷期号:: 145-164
标识
DOI:10.1007/978-3-030-35902-7_10
摘要
NetLogo and agent-based models more generally are traditionally implemented as time-stepped simulations. This means that everything is done at every increment of time. While this can be necessary at times, a potentially far more efficient simulation method is known as event-driven simulation. This type of simulation uses a scheduler for the times particular events will take place. Rather than doing everything every time step the simulation moves forward in time based upon the need for an event to occur. In this paper we show how to use NetLogo Tables and Arrays to create a time ordered queue and develop a simple NetLogo model implemented both as a traditional time-stepped simulation and as an event-driven simulation. We also present performance results.
科研通智能强力驱动
Strongly Powered by AbleSci AI