|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.nott.cs.g54dia.demo.DemoSimulator
public class DemoSimulator
An example of how to simulate execution of a tanker agent in the sample (task) environment.
Creates a default Environment
, a DemoTanker
and a GUI window
(a TankerViewer
) and executes the Tanker for DURATION days in the environment.
Field Summary | |
---|---|
private static int |
DELAY
Time for which execution pauses so that GUI can update. |
private static int |
DURATION
Number of timesteps to execute |
Constructor Summary | |
---|---|
DemoSimulator()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static int DELAY
private static int DURATION
Constructor Detail |
---|
public DemoSimulator()
Method Detail |
---|
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |