ikr.simlib.distributions.continuous.statedep

## Class GMDPDistribution

• All Implemented Interfaces:
ReflectionConstructable, ReflectionConstructable3<SimNode,Parameters,RandomNumberGenerator>
Direct Known Subclasses:
MMDPDistribution

public class GMDPDistribution
extends ContinuousDistribution
GMDP (Generally Modulated Determistic Process)
Meaning: Modeling of sources with multiple states (usually 2 - 5) in ATM networks A GMDP comprises a state machine with $$m$$ states: In state $$i$$ arrivals occur in constant intervals $$d_i$$. If $$d_i<0$$ it is a silence state without arrivals. In that case $$-d_i$$ describes the virtual slot duration in this state. $$X_i$$ representing the number of arrivals in state $$i$$ is arbitrarily (discretely) distributed (often shifted geometrically -> MMDP); in the silence state $$X_i$$ means the number of time slots of the silence phase. After $$X_i$$ arrivals incl. an additional interval of the length $$d_i$$ (or after $$X_i$$ slots of the length $$-d_i$$ in the silence state), a transition occurs to the state $$j$$ with the probability $$p_{ij}$$. According to definition: $$p_{ii} = 0$$ and $$\sum\limits_{i=1}^m p_{ij} =1$$ number of states $$m$$ transition probabilities $$p_{ij}$$ distribution of the number of arrivals $$X_i$$ in the individual states arrival intervals $$d_i$$ in the individual states Moments and distribution of the arrival intervals  [...].Dist = GMDPDistribution [...].Dist.States = 3 [...].Dist.PMAP = [ [0 0.5 0.5] [0.5 0 0.5] [0.5 0.5 0] ] [...].Dist.PhaselengthDistribution_0 = ShiftedGeometric [...].Dist.PhaselengthDistribution_0.Mean = 10 [...].Dist.PhaselengthDistribution_1 = ShiftedGeometric [...].Dist.PhaselengthDistribution_1.Mean = 10 [...].Dist.PhaselengthDistribution_2 = ShiftedGeometric [...].Dist.PhaselengthDistribution_2.Mean = 5 # negative value denotes silence state [...].Dist.InterCellTimes = [ -1 2 4 ]  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. T. THEIMER: How to compute the moments of a GMDP, RACE 1022, Document UST_123_0023_CD_CC, 1989.
• ### Nested Class Summary

Nested Classes
Modifier and Type Class and Description
static class  GMDPDistribution.GMDPStateParameters
• ### Field Summary

Fields
Modifier and Type Field and Description
int noOfStates
GMDPDistribution.GMDPStateParameters[] stateParameters
• ### 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
Modifier Constructor and Description
protected  GMDPDistribution(int noOfStates)
  GMDPDistribution(int noOfStates, double[] interCellTimes, DiscreteDistribution[] phaseLengthDists, double[][] transitionProbs)
  GMDPDistribution(int noOfStates, double[] interCellTimes, DiscreteDistribution[] phaseLengthDists, double[][] transitionProbs, RandomNumberGenerator rng)
protected  GMDPDistribution(int noOfStates, RandomNumberGenerator rng)
• ### Method Summary

Methods
Modifier and Type Method and Description
static GMDPDistribution createInstance(SimNode ownNode, Parameters pars, RandomNumberGenerator rng)
int getCellCounter()
double getCurrentInterCellTime()
int getCurrentState()
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

• #### noOfStates

public final int noOfStates
• #### stateParameters

public final GMDPDistribution.GMDPStateParameters[] stateParameters
• ### Constructor Detail

• #### GMDPDistribution

protected GMDPDistribution(int noOfStates,
RandomNumberGenerator rng)
• #### GMDPDistribution

protected GMDPDistribution(int noOfStates)
• #### GMDPDistribution

public GMDPDistribution(int noOfStates,
double[] interCellTimes,
DiscreteDistribution[] phaseLengthDists,
double[][] transitionProbs,
RandomNumberGenerator rng)
• #### GMDPDistribution

public GMDPDistribution(int noOfStates,
double[] interCellTimes,
DiscreteDistribution[] phaseLengthDists,
double[][] transitionProbs)
• ### Method Detail

• #### createInstance

public static GMDPDistribution createInstance(SimNode ownNode,
Parameters pars,
RandomNumberGenerator rng)
• #### 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
• #### next

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

public int getCurrentState()
• #### getCurrentInterCellTime

public double getCurrentInterCellTime()
• #### getCellCounter

public int getCellCounter()