3 % @file pfqn_gldsingle.m
4 % @brief Exact normalizing constant
for single-
class load-dependent models.
10 % @brief Exact normalizing constant
for single-
class load-dependent models.
11 % @fn pfqn_gldsingle(L, N, mu, options)
12 % @param L Service demand vector (Mx1).
13 % @param N Population (scalar).
14 % @param mu Load-dependent rate matrix (MxN).
15 % @param options Solver options.
16 % @
return lG Logarithm of normalizing constant.
17 % @
return G Normalizing constant.
20function [lG,G]=pfqn_gldsingle(L,N,mu,options)
21% G=PFQN_GLDSINGLE(L,N,MU)
29 line_error(mfilename,
'multiclass model detected. pfqn_gldsingle is for single class models.');
41 g(m +1, n +1, tm +1)= g(m-1 +1, n +1, 1 +1)+L(m)*g(m +1, n-1 +1, tm+1 +1)/mu(m,tm);