This page was automatically generated by NetLogo 3.1.3. Questions, problems? Contact feedback@ccl.northwestern.edu.

The applet requires Java 1.4.1 or higher. It will not run on Windows 95 or Mac OS 8 or 9. Mac users must have OS X 10.2.6 or higher and use a browser that supports Java 1.4. (Safari works, IE does not. Mac OS X comes with Safari. Open Safari and set it as your default web browser under Safari/Preferences/General.) On other operating systems, you may obtain the latest Java plugin from Sun's Java site.


In order for this to work, this file, your model file (maksym3.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: maksym3.nlogo

WHAT IS IT?

A model of a turtle ("the agent") that reports the number of colored patches it comes across in a NetLogo environment ("the world").


HOW IT WORKS

In "Agent", a turtle traverses the NetLogo environment column-by-column to "observe" its environment. Patch color is used to illustrate obstacles that an agent may discover. If a patch the agent encounters is yellow or blue or red, it will report the number of objects found in the environment.


HOW TO USE IT

Random obstacles are generated using the 'setup' button. At any time, 'setup' will allow you to start from scratch with a set of randomly-generated obstacles. The 'search' button creates a turtle in the lower lefthand corner and then moves it forward column-by-column in search of obstacles.


CREDITS AND REFERENCES

Model created by Lauren Maksym, CS361, Spring 2007.