Class FactorySimulation

java.lang.Object
  extended by Simulation
      extended by DESimulation
          extended by FactorySimulation

public class FactorySimulation
extends DESimulation

FactorySimulation -- set up the whole simulation, including creation of the Trucks and Distributors.

Author:
Mark Guzdial, Barb Ericson

Constructor Summary
FactorySimulation()
          A constuctor for the factory simulation
 
Method Summary
 Resource getProduct()
          Get the product
static void main(String[] args)
           
 void setUp()
          Set up the simulation
 
Methods inherited from class DESimulation
addEvent, getTime, log, run
 
Methods inherited from class Simulation
add, closeFile, endStep, getAgents, getOutput, getWorld, openFile, openFrames, remove, run, run, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactorySimulation

public FactorySimulation()
A constuctor for the factory simulation

Method Detail

getProduct

public Resource getProduct()
Get the product

Returns:
the product

setUp

public void setUp()
Set up the simulation

Overrides:
setUp in class Simulation

main

public static void main(String[] args)