|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSim.SimulationParameters
public class SimulationParameters
SimulationParameters holds global Simulation
parameters.
Constructor Summary | |
---|---|
SimulationParameters(double idlePowerUse,
double transmitPowerUse,
double transferRate,
double noiseRate,
double simDuration,
int randomSeed)
Constructs a new SimulationParameters |
Method Summary | |
---|---|
double |
getIdlePowerUse()
Amount of power used per second while idling. |
double |
getNoiseRate()
Percentage of packets lost due to noise at the receiver. |
int |
getRandomSeed()
Gets the random number generator seed. |
double |
getSimDuration()
Gets the duration of simulation in seconds. |
double |
getTransferRate()
Wireless network transfer speed in bits per second. |
double |
getTransmitPowerUse()
Amount of power used per second while transmitting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimulationParameters(double idlePowerUse, double transmitPowerUse, double transferRate, double noiseRate, double simDuration, int randomSeed)
idlePowerUse
- amount of power used per second while idlingtransmitPowerUse
- amount of power used per second while transmittingtransferRate
- wireless network transfer speed in bits per secondnoiseRate
- percentage of packets lost due to noise at the receiversimDuration
- duration of simulation in secondsrandomSeed
- random number generator seedMethod Detail |
---|
public double getIdlePowerUse()
public double getTransmitPowerUse()
public double getTransferRate()
public double getNoiseRate()
public double getSimDuration()
public int getRandomSeed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |