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 01:52, 8 October 2009 by Unnamed Poltroon (Talk) (New page: ==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 rea...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

Using Example Models in 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.
  4. Right-click on the model, and select "Execute".
  1. Use the cheat sheet that walks you through creating a new Escape project.

Using Example Escape Projects from CVS (Alternative)

If you get 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

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