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

Difference between revisions of "AMP/Running Examples"

< AMP
(Exploring Example ABM Models)
Line 7: Line 7:
 
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:
 
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====
+
====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:
 
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:
Line 14: Line 16:
 
#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.
 
#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.
 
#Finally grab the Epidemic.metaabm model from here and drag it into the project.
 
#Finally grab the Epidemic.metaabm model from here and drag it into the project.
#Right-click on the model, and select "Execute".
 
  
 
#Use the cheat sheet that walks you through creating a new Escape project.
 
#Use the cheat sheet that walks you through creating a new Escape project.
  
====Using Example Escape Projects from CVS (Alternative)====  
+
=====Using an Pre-Built Example Project=====
  
If you get stuck somewhere, you can also get ready made projects from CVS. See [http://eclipse.org/amp/developers/repositoryDetails.php this page] for information on CVS setup. The project for Escape example models are located at:
+
If you get really stuck somewhere, you can also get ready made projects from CVS. See [http://eclipse.org/amp/developers/repositoryDetails.php 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
 
  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:
 +
 +
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.
 
To understand the capabilities of AMF, you might also want to try out running the same models automatically generated for Ascape or Repast.
Line 27: Line 38:
 
  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.ascape
 
  org.eclipse.amp/org.eclipse.amp.amf/examples/org.eclipse.amp.amf.examples.repast
 
  org.eclipse.amp/org.eclipse.amp.amf/examples/org.eclipse.amp.amf.examples.repast
 
====
 

Revision as of 02:01, 8 October 2009

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:

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