easttrio.blogg.se

Netlogo turtle shapes
Netlogo turtle shapes












  1. #Netlogo turtle shapes software#
  2. #Netlogo turtle shapes code#

#Netlogo turtle shapes software#

Īgent-based models (ABMs) have become essential tools in social (and other) sciences, and NetLogo ( Wilensky 1999) is probably now the most widely used software platform for ABMs. Further updates and additions to this article are at. 9.1) have changed dramatically due to improvements in NetLogo versions 6.0.1 and later. The speed costs of using the "in-radius" primitive (Sect. 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.Ĭorrigendum : Further investigation indicates that the speed advantage of using state variables instead of links stated in Sects. 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. 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. Programming the same behavior in a different way can sometimes provide order-of-magnitude speed increases. For models with extensive initialization methods, reorganizing the setup procedure can reduce the initialization effort in simulation experiments. Avoiding or improving agent filtering statements can often produce dramatic speed improvements. We recommend a five-step process for quantifying execution speed, identifying slow parts of code, and writing faster code.

netlogo turtle shapes

#Netlogo turtle shapes code#

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.

netlogo turtle shapes netlogo turtle shapes

Our experience does not support that belief. 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.














Netlogo turtle shapes