LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
pfqn_xzgsblow.m
1%{
2%{
3 % @file pfqn_xzgsblow.m
4 % @brief Lower asymptotic bound on throughput (Zahorjan-Gittelsohn-Schweitzer-Bryant).
5%}
6%}
7
8%{
9%{
10 % @brief Lower asymptotic bound on throughput (Zahorjan-Gittelsohn-Schweitzer-Bryant).
11 % @fn pfqn_xzgsblow(L, N, Z)
12 % @param L Service demand vector.
13 % @param N Population.
14 % @param Z Think time.
15 % @return X Lower bound on throughput.
16%}
17%}
18function X=pfqn_xzgsblow(L,N,Z)
19M=length(L);
20R=Z+sum(L)+max(L)*(N-1);
21for ist=1:M
22 if L(ist) < max(L)
23 R=R+(L(ist)-max(L))*pfqn_qzgblow(L,N-1,Z,ist);
24 end
25end
26X=2*N*(1/(R+sqrt(R^2-4*Z*max(L)*(N-1))));
27
28end