|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--multimedia.model.GenericAggregatedModel | +--multimedia.model.OnOffHomogeneousAggregatedFlowModel
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 |
public OnOffHomogeneousAggregatedFlowModel(int srcNumber, OnOffModel model) throws java.lang.IllegalArgumentException
srcNumber
- it defines the source number of this OnOff modelName type
java.lang.IllegalArgumentException
Method Detail |
public MMPP2Model approximation()
public double computeLambdaLoad(double Pon, double lambda, double PISum, int lowerBorder, int upperBorder)
Pon
- lambda
- PISum
- lowerBorder
- upperBorder
-
public double computePIi(int i, double Pon)
public double getParamOn()
public int getM()
public double getAlpha()
public double getBeta()
public double getLambda()
public double getAInfinite()
public int getSourceNumber()
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |