LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
map_ccdf_derivative.m
1%{ @file map_ccdf_derivative.m
2 % @brief Derivative at zero of a MAP CCDF
3 %
4 % @author LINE Development Team
5%}
6
7%{
8 % @brief Computes derivative at zero of MAP complementary CDF
9 %
10 % @details
11 % This function computes the derivative at 0 of a MAP's Complementary
12 % Cumulative Distribution Function (CCDF). 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 % nu = map_ccdf_derivative(MAP, i)
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>i<td>Order of the derivative
25 % </table>
26 %
27 % @par Returns:
28 % <table>
29 % <tr><th>Name<th>Description
30 % <tr><td>nu<td>Calculated derivative value
31 % </table>
32%}
33function nu = map_ccdf_derivative(MAP, i)
34% derivative at 0 of a MAP CCDF
35% A. Horvath et al. A Joint Moments Based Analysis of Networks of
36% MAP/MAP/1 Queues
37
38n = length(MAP{1});
39
40pie = map_pie(MAP);
41nu = pie * MAP{1}^i *ones(n,1);
42end