public class NumFunctionLD extends Object implements NumFunction
Modifier and Type | Class and Description |
---|---|
class |
NumFunctionLD.NumFunctionLDResults
This class contains the results from the
fLD(double, double, double, double, double, double, double) function. |
Constructor and Description |
---|
NumFunctionLD(double numAgent,
double lam1,
double lam2,
double mu1,
double mu2,
double t)
Constructs the function class.
|
Modifier and Type | Method and Description |
---|---|
double |
eval(double x)
Evaluate the h() function from the article.
|
NumFunctionLD.NumFunctionLDResults |
fLD(double mu,
double numAgent,
double lam1,
double lam2,
double mu1,
double mu2,
double t)
Compute the approximation for the Loss Delay.
|
public NumFunctionLD(double numAgent, double lam1, double lam2, double mu1, double mu2, double t)
numAgent
- the number of agents for this skill grouplam1
- the arrival rate for delay calllam2
- the arrival rate for loss callmu1
- the service rate for delay callmu2
- the service rate for loss callt
- the AWT for this call typepublic double eval(double x)
eval
in interface NumFunction
x
- the averaged mu from mu1 and mu2.public NumFunctionLD.NumFunctionLDResults fLD(double mu, double numAgent, double lam1, double lam2, double mu1, double mu2, double t)
mu
- the averaged mu from mu1 and mu2numAgent
- the number of agents in this skill grouplam1
- the arrival rate for delay calllam2
- the arrival rate for loss callmu1
- the service rate for delay callmu2
- the service rate for loss callt
- the AWT for this call type