Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

AMP/Running Examples

< AMP
Revision as of 02:10, 8 October 2009 by Unnamed Poltroon (Talk) (Run the Model)

Exploring Example ABM Models

The first thing most people will want to do in AMP is to play with the example models. You don't need to do any programming for this, and the setup is really straightforward. Of course, the first think you'll need to do is Install AMP. (You don't need any of the optional components unless you want to play with the 3D visualizations, Ascape, or Repast.)

AMF Models

There are a number of models developed with AMF that can automatically generate example models to run in Escape. There are two ways to run the example models:

Setup Escape Projects

Creating a New Escape Project

The best option is to simply create a new Escape project and drag the models into it! We're working on a simple cheat sheet for this, but until then, just follow these simple steps:

  1. If you're not already there, open the Agent Modeling Perspective. Select Window > Open Perspective > Other.. and then Agent Modeling. (Or you can choose Window > Reset Perspective and the Agent Modeling perspective should appear in the Open Perspective list itself.)
  2. Next, let's create the project where we'll place our model. Select File > New > Escape AMF Project. Give it a name like "escape.tutorial", then click Finish.
  3. Finally grab the Epidemic.metaabm model from here and drag it into the project.
  1. Use the cheat sheet that walks you through creating a new Escape project.
Using an Pre-Built Example Project

If you get really stuck somewhere, you can also get ready made projects from CVS. See this page for information on CVS setup. The project for Escape example models are located at:

org.eclipse.amp/org.eclipse.amp.amf/examples/org.eclipse.amp.amf.examples.escape

Run the Model

Right-click on the model, and select "Execute"! You should see something like this:

EpidemicModelRunning.png

We're working on more end-user documentaiton, but hopefully you'll find model control pretty self-explanatory.

Next Steps

Other models are located at: (to do)

To understand the capabilities of AMF, you might also want to try out running the same models automatically generated for Ascape or Repast.

org.eclipse.amp/org.eclipse.amp.amf/examples/org.eclipse.amp.amf.examples.ascape
org.eclipse.amp/org.eclipse.amp.amf/examples/org.eclipse.amp.amf.examples.repast

Back to the top