public class NetworkPerformanceMetrics
extends Object
Class implementing different network metrics
Constructor and Description |
---|
NetworkPerformanceMetrics() |
Modifier and Type | Method and Description |
---|---|
static double |
erlangBLossProbability(int numberOfServers,
double load)
Returns the probability of call blocking in a
M/M/n/n queue system using the efficient implementation presented in [1]. |
static int |
inverseErlangB(double gradeOfService,
double load)
Returns the number of servers (i.e. link capacity) to achieve a given grade of service (i.e. call blocking probability) under a given load in a
M/M/n/n queue system using the efficient implementation presented in [1]. |
static double[] |
KaufmanRobertsRecursion(int u_e,
double[] h_p,
int[] s_p)
Computes the Kaufman-Roberts recursion for a multi-rate loss model system.
|
public static double[] KaufmanRobertsRecursion(int u_e, double[] h_p, int[] s_p)
u_e
- Link capacity (in integer units). It must be greater or equal than zeroh_p
- Traffic volume vector. Each element is referred to a connection of type p
and must be greater than zeros_p
- Capacity units occupied in the link by each accepted connection of type p
. Each element must be greater or equal than onep
public static double erlangBLossProbability(int numberOfServers, double load)
M/M/n/n
queue system using the efficient implementation presented in [1].numberOfServers
- Number of servers (i.e. link capacity in integer units). It must be greater or equal than zeroload
- Traffic load (i.e. carried traffic by the link). It must be greater or equal than zero[1] S. Qiao, L. Qiao, "A Robust and Efficient Algorithm for Evaluating Erlang B Formula", Technical Report CAS98-03, McMaster University (Canada), October 1998
public static int inverseErlangB(double gradeOfService, double load)
M/M/n/n
queue system using the efficient implementation presented in [1].gradeOfService
- Grade of service (i.e. call blocking probability). It must be greater or equal than zeroload
- Traffic load (i.e. carried traffic by the link). It must be greater or equal than zero[1] S. Qiao, L. Qiao, "A Robust and Efficient Algorithm for Evaluating Erlang B Formula", Technical Report CAS98-03, McMaster University (Canada), October 1998