The following code is an example of the implementation of procedure to setup: The NetLogo Dictionary has a complete list of built-in instructions (i.e. Once you define a procedure, you can use it elsewhere in your program. Whether the instruction is implemented by the user ( procedures), or whether it is built into NetLogo ( primitives).Three characteristics are useful to remember about instructions: However, when reading NetLogo documentation, it is important to remember that these four types of entities are all agents in NetLogo. the mobile agents in NetLogo), while patches and links are not considered agents (and the observer is not even mentioned). Note that in many descriptions of agent-based models, the word agent is used only to refer to the turtles (i.e. You can think of the observer as the conductor of the whole NetLogo orchestra. The observer: There is only one observer and it does not have a location.Links can be directed (from one turtle to another turtle) or undirected (one turtle with another turtle). Links: Links are agents that connect two turtles.Each patch is a square piece of “ground” over which turtles can move. Patches: The NetLogo world is two-dimensional and is divided up into a grid of patches. The NetLogo world is made up by four types of agents (see figure 2), i.e.: The NetLogo world is made up of turtles, patches, links and the observer.
0 Comments
Leave a Reply. |