Class FactorySimulation
java.lang.Object
Simulation
DESimulation
FactorySimulation
public class FactorySimulation
- extends DESimulation
FactorySimulation -- set up the whole simulation,
including creation of the Trucks and Distributors.
- Author:
- Mark Guzdial, Barb Ericson
Methods inherited from class Simulation |
add, closeFile, endStep, getAgents, getOutput, getWorld, openFile, openFrames, remove, run, run, toString |
FactorySimulation
public FactorySimulation()
- A constuctor for the factory simulation
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)