首页    期刊浏览 2025年02月28日 星期五
登录注册

文章基本信息

  • 标题:Improving Execution Speed of Models Implemented in NetLogo
  • 本地全文:下载
  • 作者:Steven Railsback ; Daniel Ayllón ; Uta Berger
  • 期刊名称:Journal of Artificial Societies and Social Simulation
  • 印刷版ISSN:1460-7425
  • 出版年度:2017
  • 卷号:20
  • 期号:1
  • 页码:1-15
  • DOI:10.18564/jasss.3282
  • 出版社:University of Surrey, Department of Sociology
  • 摘要:NetLogo has become a standard platform for agent-based simulation, yet there appears to be widespread belief that it is not suitable for large and complex models due to slow execution. Our experience does not support that belief. NetLogo programs often do run very slowly when written to minimize code length and maximize clarity, but relatively simple and easily tested changes can almost always produce major increases in execution speed. We recommend a five-step process for quantifying execution speed, identifying slow parts of code, and writing faster code. Avoiding or improving agent filtering statements can often produce dramatic speed improvements. For models with extensive initialization methods, reorganizing the setup procedure can reduce the initialization effort in simulation experiments. Programming the same behavior in a different way can sometimes provide order-of-magnitude speed increases. For models in which most agents do nothing on most time steps, discrete event simulation—facilitated by the time extension to NetLogo—can dramatically increase speed. NetLogo’s BehaviorSpace tool makes it very easy to conduct multiple-model-run experiments in parallel on either desktop or high performance cluster computers, so even quite slow models can be executed thousands of times. NetLogo also is supported by efficient analysis tools, such as BehaviorSearch and RNetLogo, that can reduce the number of model runs and the effort to set them up for (e.g.) parameterization and sensitivity analysis.
  • 关键词:Agent-Based Modeling; Computational Efficiency; Execution Speed; Individual-Based Modeling; NetLogo; Modeling Platforms
国家哲学社会科学文献中心版权所有