Fairness
Class SimulationParameters

java.lang.Object
  extended by Fairness.SimulationParameters

public class SimulationParameters
extends java.lang.Object

SimulationParameters holds global Simulation parameters.


Constructor Summary
SimulationParameters(int numStripes, int stripeBps, int packetSize, double simDuration, int randomSeed)
          Constructs a new SimulationParameters
 
Method Summary
 int getNumStripes()
          Gets the number of stripes in the Simulation
 int getPacketSize()
          Gets the size in bytes of each stripe data packet
 int getRandomSeed()
          Gets the random number generator seed
 double getSimDuration()
          Gets the duration of simulation in seconds
 int getStripeBps()
          Gets the bitrate of each stripe in bits per second
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationParameters

public SimulationParameters(int numStripes,
                            int stripeBps,
                            int packetSize,
                            double simDuration,
                            int randomSeed)
Constructs a new SimulationParameters

Parameters:
numStripes - number of stripes in the Simulation
stripeBps - bitrate of each stripe in bits per second
packetSize - size in bytes of each stripe data packet
simDuration - duration of simulation in seconds
randomSeed - random number generator seed
Method Detail

getNumStripes

public int getNumStripes()
Gets the number of stripes in the Simulation


getStripeBps

public int getStripeBps()
Gets the bitrate of each stripe in bits per second


getPacketSize

public int getPacketSize()
Gets the size in bytes of each stripe data packet


getSimDuration

public double getSimDuration()
Gets the duration of simulation in seconds


getRandomSeed

public int getRandomSeed()
Gets the random number generator seed