Class FactorySimulation

java.lang.Object
  extended bySimulation
      extended byDESimulation
          extended byFactorySimulation

public class FactorySimulation
extends DESimulation

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


Field Summary
 
Fields inherited from class DESimulation
events, now
 
Fields inherited from class Simulation
agents, frames, output, world
 
Constructor Summary
FactorySimulation()
           
 
Method Summary
 FactoryProduct getFactory()
          Accessor for factory
 void setUp()
          setUp the simulation.
 
Methods inherited from class DESimulation
addEvent, getTime, log, run
 
Methods inherited from class Simulation
add, closeFile, endStep, getAgents, lineForFile, openFile, openFrames, remove, run, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactorySimulation

public FactorySimulation()
Method Detail

getFactory

public FactoryProduct getFactory()
Accessor for factory


setUp

public void setUp()
Description copied from class: Simulation
setUp the simulation. Subclasses should call this (via super) and create agents.

Overrides:
setUp in class Simulation