agent-based simulation: performance issue: Python vs NetLogo & Repast

后端 未结 4 663
滥情空心
滥情空心 2021-02-03 10:17

I\'m replicating a small piece of Sugarscape agent simulation model in Python 3. I found the performance of my code is ~3 times slower than that of NetLogo. Is it likely the pro

4条回答
  •  不思量自难忘°
    2021-02-03 10:59

    Here is a relatively up to date comparison of NetLogo and one version of Repast. I would not necessarily assumed Repast is faster. NetLogo seems to contain some very smart algorithms that can make up for whatever costs it has. http://condor.depaul.edu/slytinen/abm/Lytinen-Railsback-EMCSR_2012-02-17.pdf

提交回复
热议问题