public class VideoSourceDistribution extends ContinuousDistribution
Modifier and Type | Field and Description |
---|---|
double |
constantA
e.g.
|
double |
constantB
e.g.
|
double |
frameDuration
e.g.
|
int |
frameSize
e.g.
|
int |
packetSize
e.g.
|
ContinuousDistribution |
rateDistribution
e.g.
|
double |
startRate
e.g.
|
double |
upperLimitRate
e.g.
|
rng
Constructor and Description |
---|
VideoSourceDistribution(int framesize,
double frameduration,
double startrate,
double constanta,
double constantb,
double upperlimitrate,
ContinuousDistribution ratedistribution,
int packetsize) |
VideoSourceDistribution(int framesize,
double frameduration,
double startrate,
double constanta,
double constantb,
double upperlimitrate,
ContinuousDistribution ratedistribution,
int packetsize,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
int |
generatePackets() |
double |
getActRate() |
int |
getFrameCounter() |
int |
getPacketCounter() |
double |
getVideoInterCellTime() |
double |
next()
Create random numbers
|
void |
reset()
The default behavior is to do nothing.
|
getDefaultRNG, getRandomNumberGenerator
public final int frameSize
public final double frameDuration
public final double startRate
public final double constantA
public final double constantB
public final double upperLimitRate
public final ContinuousDistribution rateDistribution
public final int packetSize
public VideoSourceDistribution(int framesize, double frameduration, double startrate, double constanta, double constantb, double upperlimitrate, ContinuousDistribution ratedistribution, int packetsize, RandomNumberGenerator rng)
public VideoSourceDistribution(int framesize, double frameduration, double startrate, double constanta, double constantb, double upperlimitrate, ContinuousDistribution ratedistribution, int packetsize)
public int generatePackets()
public double next()
ContinuousDistribution
next
in class ContinuousDistribution
public void reset()
Distribution
reset
in class Distribution
public double getActRate()
public int getFrameCounter()
public int getPacketCounter()
public double getVideoInterCellTime()