Computer Systems Modeling Software, 2004-2005
- MASON from GMU, Java
based
- Download the MASON .tar.gz package
1. gunzip mason.tar.gz
2. tar xvf mason.tar (this creates a "mason" directory)
3. cd mason and run Makefile (type "make")
- Sample applications to run are in mason/sim/app/
- 1. Heat bugs: java sim.app.heatbugs.HeatBugsWithUI (from the "mason"
directory)
- NOTE: if the windows are in the upper left, they can be moved with
mouse hold/drag on the bottom of each window
- TO RUN: click on the "arrow" in the file window.
- 2. Ants Foraging: java sim.app.antsforage.AntsForageWithUI
- The brown areas block the way to the food (highlighted pixel, upper
left)
- Eventually an ant finds the food, a blue trail is built back to "home
pixel" (lower right)
- MASON
Documentation
- MASON Classdocs API
- Tutorials are in sim/app/tutorial* + html files:
- To compile new/edited programs
- Put this in a ".bashrc" file in your home directory:
#!/bin/bsh
export CLASSPATH=$CLASSPATH:/usr/include/java:~/YourDirectoryPath/mason
(the ~ above is the same as ~yourusername)
- Java
3D for Linux
- Ascape
from Robert Axtell and The Brookings Instititute, Java,
inspired from Swarm
- Overview of studies by Axtell/Epstein
"working papers" from Santa Fe,
All years of working papers, Santa Fe
- Anasazi modeling
- Readme
documentation
- Classpath
for bashrc
- The ".class" files are in lib/edu/brook/appDirectoryName
- To run:
- Prisoner's Dilemma:
java edu.brook.ascape.model.Scape edu.brook.pd.PD2D (from the Ascape
directory)
- Citizens and Police:
java edu.brook.ascape.model.Scape edu.brook.cv.CVModel
- Anasazi Indians - Long House Valley
java edu.brook.ascape.model.Scape edu.brook.aa.LHV
- Sugarscape - "Growing Artificial Societies"
java edu.brook.ascape.model.Scape edu.brook.sugarscape.GAS_III_3
(this is from chapter 3, 3rd program)
- sugarscape java
source files
- To compile:
Source files are in src/edu/brook/appDirectoryName
javac -d ~username/Ascape/lib/ Town.java
(This example is in src/edu/brook/epidemic/)
This will put a .class file in lib/edu/brook/epidemic/
- NetLogo from MIT and
Northwestern, multi-agent Logo syntax
- Models Library (will run examples in a browser)
for code to these, download Netlogo
- To run (from /netlogo-2.0beta): java -jar NetLogo.jar
- Some things to model
- Computer Modeling and Simulations