LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
map_jointpdf_derivative.m
1%{ @file map_jointpdf_derivative.m
2 % @brief Partial derivative at zero of a MAP's joint PDF
3 %
4 % @author LINE Development Team
5%}
6
7%{
8 % @brief Computes partial derivative at zero of MAP joint PDF
9 %
10 % @details
11 % This function computes the partial derivative at 0 of a MAP's joint
12 % probability density function. Based on A. Horvath et al.
13 % "A Joint Moments Based Analysis of Networks of MAP/MAP/1 Queues".
14 %
15 % @par Syntax:
16 % @code
17 % gamma = map_jointpdf_derivative(MAP, iset)
18 % @endcode
19 %
20 % @par Parameters:
21 % <table>
22 % <tr><th>Name<th>Description
23 % <tr><td>MAP<td>Markovian Arrival Process {D0, D1}
24 % <tr><td>iset<td>Vector of indices defining the partial derivative
25 % </table>
26 %
27 % @par Returns:
28 % <table>
29 % <tr><th>Name<th>Description
30 % <tr><td>gamma<td>Calculated derivative value
31 % </table>
32%}
33function gamma = map_jointpdf_derivative(MAP, iset)
34% partial derivative at 0 of a MAP's joint PDF
35% A. Horvath et al. A Joint Moments Based Analysis of Networks of
36% MAP/MAP/1 Queues
37
38n = length(MAP{1});
39
40gamma = map_pie(MAP);
41for j=iset(:)'
42 gamma = gamma * MAP{1}^j * MAP{2};
43end
44gamma = gamma * ones(n,1);
45end