Class DiseaseSimulation

java.lang.Object
  extended bySimulation
      extended byDiseaseSimulation

public class DiseaseSimulation
extends Simulation

DiseaseSimulation -- using the Simulation class


Field Summary
 
Fields inherited from class Simulation
agents, frames, output, world
 
Constructor Summary
DiseaseSimulation()
           
 
Method Summary
 String lineForFile()
          lineForFile -- write out number of infected
 void setUp()
          Fill the world with 60 persons, one sick
 
Methods inherited from class Simulation
add, closeFile, endStep, getAgents, 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

DiseaseSimulation

public DiseaseSimulation()
Method Detail

lineForFile

public String lineForFile()
lineForFile -- write out number of infected

Overrides:
lineForFile in class Simulation

setUp

public void setUp()
Fill the world with 60 persons, one sick

Overrides:
setUp in class Simulation