This page was automatically generated by NetLogo 1.3. Questions, problems? Contact feedback@ccl.northwestern.edu.
In order for this to work, this file, your model file (sugarscape.nlogo), and the file NetLogoLite.jar must all be in the same directory. (You can copy NetLogoLite.jar from the directory where you installed NetLogo.)
On some systems, you can test the applet locally on your computer before uploading it to a web server. It doesn't work on all systems, though, so if it doesn't work from your hard drive, please try uploading it to a web server.
You don't need to include everything in this file in your page. If you want, you can just take the HTML code beginning with <applet> and ending with </applet>, and paste it into any HTML file you want. It's even OK to put multiple <applet> tags on a single page.
If NetLogoLite.jar and your model are in different directories, you must modify the archive= and value= lines in the HTML code to point to their actual locations. (For example, if you have multiple applets in different directories on the same web server, you may want to put a single copy of NetLogoLite.jar in one central place and change the archive= lines of all the HTML files to point to that one central copy. This will save disk space for you and download time for your user.)
created with NetLogo
view/download model file: sugarscape.nlogo
WHAT IS IT?
-----------
This is a version of SugarScape, as presented in "Growing Artificial Societies" by Epstein and Axtell. It is preliminary, having only the rules: G M R S K. Note: we use a darker color than the book's yellow in order to see the regions of the scape a bit more clearly. It is easly set to yellow, see globals below. Note that we used a 51x51 scape rather than the book's 50x50 due to the NetLogo coordinate system having a 0 center, thus an odd number total width/height. Likely not a problem.
HOW IT WORKS
------------
Patches represent a toroidal world with "sugar" (representing wealth) deposited in two roughly circular regons or "hills" of increasing sugar density. Agents obey rules for harvesting sugar and reproducing, while the sugar patches obey a growback rule. See book for details.
HOW TO USE IT
-------------
Contrary to typical simulations, this does NOT use lots of GUI elements for each parameter of the model. This is done to avoid cluttered spaces and to make it easier to set several parameters at once, simplifying the various simulations and avoiding errors.
The parameters are all globals and can be individually set. See the globals portion of the procedures section for details. Note that experiment0 lets one individually set each parameter, providing a means of complete generalization. Insights from users much, much appreciated here!
THINGS TO NOTICE
----------------
We generally get reasonably close match with the book but in one case, the "waves" of migration experiment (labeled: "4:Migration-P42"), we cannot achieve the clustering and migration over time shown in the book and movie. This is likely an artifact of my implementation, but it would be great if we could reproduce the sustained waves. Similarly, I had difficulty reproducing the four sexual reproduction curves (5a-5c).
THINGS TO TRY
-------------
Setup your own experiment0, changing parameters as you'd like. These parameters let you try new behaviors from the initial sugarscape model:
set includeMyPatch? true ; whether to include me in the search neighborhood.
set agentLayout 0 ; 0 = whole scape, 1 = lower left, 2 = lower left and top right
set scapeColor orange ; orange or other dark color makes scape clearer
set geometryScape? false ; Whether to use a geometrically derived scape or a "map"
EXTENDING THE MODEL
-------------------
We need to complete the book's rules. Volunteers appreciated!
NETLOGO FEATURES
----------------
Seth's "shuffle" routine is quite nifty. I also like the brevity of
set tags map [random ?] cultureTags
and other powerful list/agentset methods. NetLogo team: Congrats!
RELATED MODELS
--------------
The Wealth Distribution model, in the Social Science section, is modeled pretty
closely on Sugarscape.
CREDITS AND REFERENCES
----------------------
http://www.brook.edu/press/books/ARTIFSOC.HTM