|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSim.SimulationRunner
public class SimulationRunner
This class executes a simulation by executing the events. Once complete, this will compile the results and output them to an xml file.
Constructor Summary | |
---|---|
SimulationRunner(Simulation sim,
java.util.ArrayList<NodeMonitor> monitor,
PacketWatcher pl,
java.io.File outputDirectory)
Constructor to create a new simulation, after this is created, simply call runSimulation |
Method Summary | |
---|---|
void |
runSimulation()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimulationRunner(Simulation sim, java.util.ArrayList<NodeMonitor> monitor, PacketWatcher pl, java.io.File outputDirectory)
sim
- simulation to runmonitor
- object that watches the simulationpl
- object that watches the packets during the simulationoutputDirectory
- directory to store the xml filesMethod Detail |
---|
public void runSimulation() throws SimulationException
SimulationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |