multimedia.model
Class OnOffHomogeneousAggregatedFlowModel

java.lang.Object
  |
  +--multimedia.model.GenericAggregatedModel
        |
        +--multimedia.model.OnOffHomogeneousAggregatedFlowModel

public class OnOffHomogeneousAggregatedFlowModel
extends GenericAggregatedModel


Constructor Summary
OnOffHomogeneousAggregatedFlowModel(int srcNumber, OnOffModel model)
          In this case OnOff model is markovian
 
Method Summary
 MMPP2Model approximation()
          To create an MMPP-2 Model which represents aggregation of N homogeneous On-Off
 double computeLambdaLoad(double Pon, double lambda, double PISum, int lowerBorder, int upperBorder)
          Method computeLambdaLoad.
 double computePIi(int i, double Pon)
           
 double getAInfinite()
           
 double getAlpha()
           
 double getBeta()
           
 double getLambda()
          getLambda : to calculate lambda = 1/T where T = inter-packet time
 int getM()
          getM : to calculate M = floor(srcNumber*Pon)
 double getParamOn()
          getParamOn : to calculate Pon = beta/(alpha + beta) where alpha = 1/Ton and beta = 1/Toff
 int getSourceNumber()
           
static void main(java.lang.String[] args)
          Methode: Main pour tester la classe
 
Methods inherited from class multimedia.model.GenericAggregatedModel
getName, getParamsCount, setName, setParamsCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnOffHomogeneousAggregatedFlowModel

public OnOffHomogeneousAggregatedFlowModel(int srcNumber,
                                           OnOffModel model)
                                    throws java.lang.IllegalArgumentException
In this case OnOff model is markovian

Parameters:
srcNumber - it defines the source number of this OnOff modelName type
Throws:
java.lang.IllegalArgumentException
Method Detail

approximation

public MMPP2Model approximation()
To create an MMPP-2 Model which represents aggregation of N homogeneous On-Off

Returns:
MMPP2Model

computeLambdaLoad

public double computeLambdaLoad(double Pon,
                                double lambda,
                                double PISum,
                                int lowerBorder,
                                int upperBorder)
Method computeLambdaLoad.

Parameters:
Pon -
lambda -
PISum -
lowerBorder -
upperBorder -
Returns:
double

computePIi

public double computePIi(int i,
                         double Pon)

getParamOn

public double getParamOn()
getParamOn : to calculate Pon = beta/(alpha + beta) where alpha = 1/Ton and beta = 1/Toff


getM

public int getM()
getM : to calculate M = floor(srcNumber*Pon)


getAlpha

public double getAlpha()

getBeta

public double getBeta()

getLambda

public double getLambda()
getLambda : to calculate lambda = 1/T where T = inter-packet time


getAInfinite

public double getAInfinite()

getSourceNumber

public int getSourceNumber()

main

public static void main(java.lang.String[] args)
Methode: Main pour tester la classe