LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
map_count_idc.m
1function I = map_count_idc(map,t)
2% I = map_count_idc(MAP,t) - Index of dispersion for counts (IDC) of a MAP
3% evaluated at the time points t.
4%
5% The IDC of the counting process A(t) associated to the MAP is
6%
7% I_a(t) = Var(A(t)) / E[A(t)], t > 0,
8%
9% i.e. the scaled variance-time curve. It is a function of t that interpolates
10% between I_a(0+) = SCV of the interarrival time (for a renewal MAP) and the
11% asymptotic value I_a(Inf) = map_idc(MAP). See W. Whitt and W. You, "A Robust
12% Queueing Network Analyzer Based on Indices of Dispersion", eq. (1).
13%
14% Input:
15% - map: Markovian Arrival Process in the form {D0,D1}
16% - t: vector of time points (t>0)
17% Output:
18% - I: column vector of IDC values, one per element of t
19
20t = t(:);
21I = zeros(numel(t),1);
22m = map_count_mean(map,t);
23v = map_count_var(map,t);
24nz = m > 0;
25I(nz) = v(nz) ./ m(nz);
26% For an orderly point process the counting IDC tends to 1 as t->0 (locally
27% Poisson: Var(N(t)) ~ E[N(t)]). This limit is only hit at t==0 exactly.
28if any(~nz)
29 I(~nz) = 1;
30end
31end
Definition Station.m:287
Definition Station.m:245