public class VideoSourceDistribution extends ContinuousDistribution
Meaning: | Modeling of video sources in ATM/packet networks |
---|---|
Description: |
|
Parameters: |
|
Characteristic values: | Average packet intervals within the frame \(i: E[T] = \frac{s_P \cdot d_F}{s_F \cdot \lambda_i}\) |
Parser example: |
[...].dist
= VideoSourceDistribution
|
References: |
|
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
CREATE_INSTANCE_METHOD_NAME
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 |
---|---|
static VideoSourceDistribution |
createInstance(SimNode ownNode,
Parameters pars,
RandomNumberGenerator rng)
as required by
ReflectionConstructable |
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 static VideoSourceDistribution createInstance(SimNode ownNode, Parameters pars, RandomNumberGenerator rng)
ReflectionConstructable
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()