LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
matlab
lib
m3a
m3a
mmap
mmap_pc.m
1
function pc = mmap_pc(
MMAP
)
2
% Computes the arrival probabilities of each
class
for the given
MMAP
.
3
% Supports both numeric and symbolic MMAPs.
4
5
m = length(
MMAP
)-2;
6
7
if
map_issym(
MMAP
)
8
pc = sym(zeros(m,1));
9
else
10
pc = zeros(m,1);
11
end
12
13
for
i = 1:m
14
pc(i) = sum(map_pie(
MMAP
) * (-
MMAP
{1}\
MMAP
{2+i}));
15
end
16
17
end
MMAP
Definition
solver_mam_traffic.m:35
Generated by
1.9.8