LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
mfq_ld_mean.m
1%{ @file mfq_ld_mean.m
2 % @brief Stationary mean fluid level of a level-dependent fluid queue
3 %
4 % @author LINE Development Team
5%}
6
7%{
8 % @brief Stationary mean fluid level from mfq_ld_solve output.
9 %
10 % @details
11 % Thin LINE wrapper around LevelDependentFluidStationaryMean. Returns the
12 % scalar mean fluid level E[X] of a first/second-order level-dependent fluid
13 % queue in closed form, using the matrix-exponential building blocks returned
14 % by mfq_ld_solve.
15 %
16 % @par Syntax:
17 % @code
18 % res = mfq_ld_mean(masses,iniF,KF,cloF,iniB,KB,cloB,T)
19 % @endcode
20 %
21 % @par Parameters:
22 % <table>
23 % <tr><th>Name<th>Description
24 % <tr><td>masses,iniF..cloB<td>Building blocks returned by mfq_ld_solve
25 % <tr><td>T<td>Vector of regime thresholds (length K)
26 % </table>
27 %
28 % @par Returns:
29 % res: scalar mean fluid level E[X].
30%}
31function res = mfq_ld_mean(masses,iniF,KF,cloF,iniB,KB,cloB,T)
32res = LevelDependentFluidStationaryMean(masses,iniF,KF,cloF,iniB,KB,cloB,T);
33end
Definition Station.m:245