LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
mfq_fluflu_sojourn.m
1%{ @file mfq_fluflu_sojourn.m
2 % @brief Sojourn-time distribution of a fluid/fluid queue
3 %
4 % @author LINE Development Team
5%}
6
7%{
8 % @brief Sojourn-time distribution of a fluid queue with fluid-modulated service.
9 %
10 % @details
11 % Thin LINE wrapper around FluFluSTD. Returns the sojourn-time distribution of
12 % a fluid queue in which both the arrival and the service processes are
13 % Markov-modulated fluid flows, as a matrix-exponential (ME) or phase-type
14 % (PH) representation (alpha, A).
15 %
16 % @par Syntax:
17 % @code
18 % [alpha,A] = mfq_fluflu_sojourn(Qin,Rin,Qout,Rout,srv0stop)
19 % [alpha,A] = mfq_fluflu_sojourn(Qin,Rin,Qout,Rout,srv0stop,transToPH)
20 % @endcode
21 %
22 % @par Parameters:
23 % <table>
24 % <tr><th>Name<th>Description
25 % <tr><td>Qin<td>(Na,Na) generator of the arrival-modulating chain
26 % <tr><td>Rin<td>(Na,Na) diagonal arrival fluid-rate matrix
27 % <tr><td>Qout<td>(Ns,Ns) generator of the service-modulating chain
28 % <tr><td>Rout<td>(Ns,Ns) diagonal service fluid-rate matrix
29 % <tr><td>srv0stop<td>true if service stops when the server fluid level hits zero
30 % <tr><td>transToPH<td>(Optional) true to return a PH (else ME) representation
31 % </table>
32 %
33 % @par Returns:
34 % alpha, A: ME/PH representation of the sojourn-time distribution.
35%}
36function [alpha,A] = mfq_fluflu_sojourn(Qin,Rin,Qout,Rout,srv0stop,transToPH)
37if ~exist('transToPH','var'), transToPH = false; end
38[alpha,A] = FluFluSTD(Qin,Rin,Qout,Rout,srv0stop,transToPH);
39end
Definition Station.m:245