patch gives an equal share of a portion of its value to its neighbor
1 2 3 4 5 6 7
Character. If the
Numeric. Value between 0 and 1 representing the portion of
Integer: 4 or 8. Represents the number of neighbor
Logical to determine if the
What is given is lost for the patches.
torus = TRUE, all
some may be on the other sides of the
torus = FALSE,
patches located on the edges of the
world have less than
patches around them.
However, each neighbor still gets 1/4 or 1/8 of the shared amount
and the diffusing
patch keeps the leftover.
worldArray object with
patches values updated.
Wilensky, U. 1999. NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University. Evanston, IL.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.