|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--multimedia.model.OnOffHomogeneousAggregateModel
Field Summary | |
protected int |
cNb
|
protected OnOffModel |
typeModel
|
Constructor Summary | |
OnOffHomogeneousAggregateModel(int srcNumber,
OnOffModel model)
OnOffHomogeneousAggregate |
Method Summary | |
MMPP2Model |
approximation()
Method approximation. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int cNb
protected OnOffModel typeModel
Constructor Detail |
public OnOffHomogeneousAggregateModel(int srcNumber, OnOffModel model) throws java.lang.IllegalArgumentException
srcNumber
- it defines the source number of this OnOff modelName typeMethod 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 |