ikr.simlib.distributions.continuous.statedep

## Class TalkspurtSilenceDistribution

• All Implemented Interfaces:
ReflectionConstructable, ReflectionConstructable3<SimNode,Parameters,RandomNumberGenerator>

public class TalkspurtSilenceDistribution
extends ContinuousDistribution
Talkspurt Silence Source
Meaning: Modeling of on-off sources in packet networks Modeling of voice sources State machine with 2 states (on/off, talkspurt/silence or burst/silence) In the talkspurt state $$X$$ cells/packets arrive at intervals of $$d$$. After that a silence phase of the duration $$S$$ takes place. Special case of the GMDP, if $$S$$ is described by a compound distribution with a constant distribution as inner distribution. (discrete) distribution of the number of cells $$X$$ in the talkspurt state (continuous) distribution of silence duration $$S$$ arrival interval $$d$$ ("inter-cell time") in the talkspurt state Peak rate: $$h = \frac{1}{d}$$ Mean rate: $$m = \frac{E[X]}{E[X] \cdot d + E[S]}$$ Burstiness: $$b = \frac{h}{m} = 1 +\frac{E[S]}{E[X] \cdot d}$$ For given $$h$$ and $$m$$ (or $$h$$ and $$b$$ as well as $$E[X]$$): $$h = \frac{1}{h}$$, $$E[S] = E[X] \cdot (\frac{1}{m} - \frac{1}{h}) = \frac{E[X]}{h} \cdot (b-1)$$  [...].Dist = TalkspurtSilenceDistribution [...].Dist.TalkspurtDistribution = ShiftedGeometric [...].Dist.TalkspurtDistribution.Mean = 20 [...].Dist.SilenceDistribution = NegExp [...].Dist.SilenceDistribution.Mean = 800 [...].Dist.SilenceDistribution.InterCellTime = 10  P. J. KÜHN: Reminder on queueing theory for ATM networks. Telecommunication Systems, No. 5, 1996, pp. 1-24. G. D. STAMOULIS, M. E. ANAGNOSTOU, A. D. GEORGANTAS: Traffic source models for ATM networks: a survey." Computer Communications, Vol. 17, No. 6, Juni, 1994.
• ### Field Summary

Fields
Modifier and Type Field and Description
double interCellTime
ContinuousDistribution silenceDistribution
DiscreteDistribution talkspurtDistribution
• ### Fields inherited from class ikr.simlib.distributions.Distribution

rng
• ### Fields inherited from interface ikr.simlib.parameters.reflection.ReflectionConstructable

CREATE_INSTANCE_METHOD_NAME
• ### Constructor Summary

Constructors
Constructor and Description
TalkspurtSilenceDistribution(DiscreteDistribution talkspurtDist, ContinuousDistribution silenceDist, double interCellTime)
TalkspurtSilenceDistribution(DiscreteDistribution talkspurtDist, ContinuousDistribution silenceDist, double interCellTime, RandomNumberGenerator rng)
• ### Method Summary

Methods
Modifier and Type Method and Description
static TalkspurtSilenceDistribution createInstance(SimNode ownNode, Parameters pars, RandomNumberGenerator rng)
int getTalkspurtCounter()
double next()
Create random numbers
void reset()
The default behavior is to do nothing.
• ### Methods inherited from class ikr.simlib.distributions.Distribution

getDefaultRNG, getRandomNumberGenerator
• ### Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
• ### Field Detail

• #### talkspurtDistribution

public final DiscreteDistribution talkspurtDistribution
• #### silenceDistribution

public final ContinuousDistribution silenceDistribution
• #### interCellTime

public final double interCellTime
• ### Constructor Detail

• #### TalkspurtSilenceDistribution

public TalkspurtSilenceDistribution(DiscreteDistribution talkspurtDist,
ContinuousDistribution silenceDist,
double interCellTime,
RandomNumberGenerator rng)
• #### TalkspurtSilenceDistribution

public TalkspurtSilenceDistribution(DiscreteDistribution talkspurtDist,
ContinuousDistribution silenceDist,
double interCellTime)
• ### Method Detail

• #### createInstance

public static TalkspurtSilenceDistribution createInstance(SimNode ownNode,
Parameters pars,
RandomNumberGenerator rng)
• #### next

public double next()
Description copied from class: ContinuousDistribution
Create random numbers
Specified by:
next in class ContinuousDistribution
• #### reset

public void reset()
Description copied from class: Distribution
The default behavior is to do nothing. Some state dependent distributions override the function
Overrides:
reset in class Distribution
• #### getTalkspurtCounter

public int getTalkspurtCounter()