![]() ![]() (suggested things to add or change in the Code tab to make the model more complicated, detailed, accurate, etc. ![]() (As we will see, we can also declare attributes for turtle breeds and link breeds.). In NetLogo, as in other similar software, agents are traditionally thought of as turtles. (suggested things for the user to try to do (move sliders, switches, etc.) with the model) EXTENDING THE MODEL Find NetLogo Code examples to simplify your own programming tasks. (suggested things for the user to notice while running the model) THINGS TO TRY (how to use the model, including a description of each of the items in the Interface tab) THINGS TO NOTICE (what rules the agents use to create the overall behavior of the model) HOW TO USE IT (a general understanding of what the model is trying to show or explain) HOW IT WORKS The Modeling Commons contains more than 2000 other NetLogo models. (For example, if you have multiple applets in differentĭirectories on the same web server, you may want to putĪ single copy of the NetLogoLite files in one central place andĬhange the archive= lines of all the HTML files to point View, run, and discuss the Breeds and Shapes Example model, written by Uri Wilensky. In the HTML code to point to their actual locations. If the NetLogoLite files and your model are in differentĭirectories, you must modify the archive= and value= lines To see which agent (turtles, patches, observer) can actually run each command, consult each individual entry in the dictionary. and ending with, and paste it into any HTMLįile you want. If you want, you can just take the HTML code beginning with You don't need to include everything in this file in your page. Though, so if it doesn't work from your hard drive, please try On some systems, you can test the applet locally on your computerīefore uploading it to a web server. (You can copy NetLogoLite.jar and įrom the directory where you installed NetLogo.) ![]() (ogo), and the files NetLogoLite.jar and In order for this to work, this file, your model file Windows and Linux users may obtain the latest Java from You define turtle breeds using the breed keyword, at the top of the Code tab. Mac users must have Mac OS X 10.4 or higher. In NetLogo, there are four types of agents: turtles, patches, links. Java must be enabled in your browser settings. In the code above, we tell NetLogo that we will create a specific type of agent referred to as. This page was automatically generated by NetLogo 5.0.4. NetLogo includes the breed command to make this possible. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |