LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
matlab
lib
m3a
m3a
mmap
mmap_count_lambda.m
1
function [lk] = mmap_count_lambda(mmap)
2
% Computes
the
arrival rate of
the
counting process,
for
the
3
% given Marked MAP.
4
% Input:
5
% - mmap:
the
Marked MAP
6
% Output:
7
% - lk:
the
vector with
the
rate
for each
job
class
8
9
n = size(mmap{1},1);
10
K = size(mmap,2)-2;
11
12
if
(map_issym(mmap))
13
e = sym(ones(n,1));
14
lk = sym(zeros(K,1));
15
else
16
e = ones(n,1);
17
lk = zeros(K,1);
18
end
19
20
theta = map_prob(mmap);
21
22
for
k=1:K
23
lk(k) = theta * mmap{2+k} * e;
24
end
25
lk=lk
';
26
end
the
Definition
Station.m:245
Generated by
1.9.8