<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.swarm.org/w/index.php?action=history&amp;feed=atom&amp;title=Swarm_Apps</id>
		<title>Swarm Apps - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.swarm.org/w/index.php?action=history&amp;feed=atom&amp;title=Swarm_Apps"/>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm_Apps&amp;action=history"/>
		<updated>2026-04-28T17:49:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.0</generator>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm_Apps&amp;diff=12&amp;oldid=prev</id>
		<title>Pauljohn32: Created page with &quot; We make a wide variety of Swarm models available. These illustrate the many different kinds of research questions  addressed using agent-based models, and provide example ide...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm_Apps&amp;diff=12&amp;oldid=prev"/>
				<updated>2015-03-07T05:25:56Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; We make a wide variety of Swarm models available. These illustrate the many different kinds of research questions  addressed using agent-based models, and provide example ide...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
We make a wide variety of Swarm models available. These illustrate the many different kinds of research questions  addressed using agent-based models, and provide example ideas and software for other modelers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Demo page==&lt;br /&gt;
For newcomers, [[Examples_of_Swarm_applications|here is a peek at a couple of classic Swarm applications]].&lt;br /&gt;
&lt;br /&gt;
==How to choose and run example applications==&lt;br /&gt;
(For a discussion of Java vs. Objective-C, see the FAQ: [[Swarm_FAQ]])&lt;br /&gt;
&lt;br /&gt;
===Objective-C applications===&lt;br /&gt;
&lt;br /&gt;
Listed below are sites where you can download Objective-C Swarm models. To run them:&lt;br /&gt;
&lt;br /&gt;
*Download and un-zip the archive. The archives are usually in TAR GZIP format (e.g., HeatBugs.tar.gz), which you can unzip (in a Linux terminal window or, if using Windows, in Cygwin) by typing &amp;amp;quot;tar xzvf HeatBugs.tar.gz&amp;amp;quot;.&lt;br /&gt;
*Change directories into the newly unzipped directory of source code (in a Linux terminal window or, if using Windows, in Cygwin). &lt;br /&gt;
*If your Swarm installation is set up correctly, you can then compile the application by simply typing &amp;amp;quot;make&amp;amp;quot;. (If you get a message something like &amp;amp;quot;Makefile: ... /Makefile.appl: No such file or directory...&amp;amp;quot; then you do not have the environment variable SWARMHOME set correctly. Keep reading...)&lt;br /&gt;
*If compilation is successful, you will have a new executable file (e.g., &amp;amp;quot;heatbugs.exe&amp;amp;quot; in Windows; &amp;amp;quot;heatbugs&amp;amp;quot; in Linux). Then you can start the model by typing &amp;amp;quot;./heatbugs.exe&amp;amp;quot; (or, in Linux, &amp;amp;quot;./heatbugs&amp;amp;quot;).&lt;br /&gt;
*A common problem is not having your system's SWARMHOME environment variable correctly pointed to the location of your Swarm installation. SWARMHOME should typically be /usr/local/ or /usr/ if you've installed it from a binary package on a GNU/Linux system. For Windows, see [[Windows_binary_notes]]&lt;br /&gt;
&lt;br /&gt;
===Java applications===&lt;br /&gt;
&lt;br /&gt;
We provide step-by-step [[instructions]] for compiling and running the Java program Jheatbugs-3.0 on Windows XP using Swarm 2.2. Our demo covers interactive (visual) mode as well as batch mode (multiple runs with output to files). &lt;br /&gt;
&lt;br /&gt;
Other Java Swarm models are listed below.&lt;br /&gt;
&lt;br /&gt;
==Official applications archive==&lt;br /&gt;
Our official archive of Swarm applications is at http://ftp.swarm.org/pub/swarm/apps/. Even though these models are generally old, many of them still work in Swarm 2.2. There are far more Objective-C than Java applications in the archive.&lt;br /&gt;
&lt;br /&gt;
The archive includes Java versions of the Swarm classics heatbugs and mousetrap.  The versions that worked with Swarm-2.1.1 and Swarm-2.2 are currently available in the testing subdirectory of the ftp archive. Look for [http://ftp.swarm.org/pub/swarm/apps/java/sdg/testing/jheatbugs-2001-03-28.tar.gz jheatbugs-2001-03-28.tar.gz] and [http://ftp.swarm.org/pub/swarm/apps/java/sdg/testing/jmousetrap-2001-09-13.tar.gz jmousetrap-2001-09-13.tar.gz].&lt;br /&gt;
&lt;br /&gt;
We strongly encourage people to contribute new applications! The site includes a form for describing contributions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Paul Johnson's package of Objective-C applications==&lt;br /&gt;
[[User:Pauljohn|Paul Johnson]] has generously assembled a new package of applications for Swarm-2.2.  This is a revised version, correcting a couple of glitches in saving of screen snapshots. It is available from Paul's web site: http://www.ku.edu/~pauljohn/Swarm/swarmapps-objc-2.2-2.tar.gz and also at the Swarm download site: http://ftp.swarm.org/pub/swarm/apps/objc/sdg/swarmapps-objc-2.2-2.tar.gz. Please keep testing and let Paul know how it works.&lt;br /&gt;
&lt;br /&gt;
The package contains classic example Swarm applications, including:&lt;br /&gt;
*The Swarm tutorial (discussed in [[Swarm:_documentation_main_page#Swarm_User_Guide|the Swarm User Guide]])&lt;br /&gt;
*Heatbugs&lt;br /&gt;
*Mousetrap&lt;br /&gt;
*ArborgamesII (a simulation of forests used in publications by M. Savage et al.)&lt;br /&gt;
*SchellingII (Schelling's neighborhood segregation model)&lt;br /&gt;
*Conway (the Game of Life)&lt;br /&gt;
*sss (Swarm Sugar Scape).  &lt;br /&gt;
We are soliciting volunteers who want to maintain some 'orphaned' applications from swarmapps-2.1.1.  These apps that need love and attention are market, template, and hello-world.  If you are interested in taking on one of those applications, or offering up other applications, contact [[User:Pauljohn|PJ]].&lt;br /&gt;
&lt;br /&gt;
==Additional links==&lt;br /&gt;
*The world-famous Artificial Stock Market has its own homepage at http://artstkmkt.sourceforge.net (Objective-C)&lt;br /&gt;
*Paul Johnson keeps many examples of Swarm-related code, his own models, and other people's models, at: http://www.ku.edu/~pauljohn/Swarm/&lt;br /&gt;
*Keep your eye on the [[ABM_Resources|Agent-based modeling community pages]] for projects using Swarm.&lt;br /&gt;
*See the [[ABM_Resources#Software_Resources|software resources at the ABM Resources area of the wiki]] for a series of template models in Java and Objective-C Swarm, and for guidance on using Swarm with integrated development environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	</feed>