|
WDMSim | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwdmsim.TrafficGenerator
public class TrafficGenerator
Generates the network's traffic based on the information passed through the command line arguments and the XML simulation file.
Constructor Summary | |
---|---|
TrafficGenerator(org.w3c.dom.Element xml,
double forcedLoad)
Creates a new TrafficGenerator object. |
Method Summary | |
---|---|
void |
generateTraffic(PhysicalTopology pt,
EventScheduler events,
int seed)
Generates the network's traffic. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrafficGenerator(org.w3c.dom.Element xml, double forcedLoad)
xml
- file that contains all information about the simulationforcedLoad
- range of offered loads for several simulationsMethod Detail |
---|
public void generateTraffic(PhysicalTopology pt, EventScheduler events, int seed)
events
- EventScheduler object that will contain the simulation eventspt
- the network's Physical Topologyseed
- a number in the interval [1,25] that defines up to 25 different random simulations
|
WDMSim | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |