LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
matlab
examples
advanced
randomEnv
renv_genqn.m
1
function qnet = renv_genqn(rate, N)
2
%% sn1
3
qnet = Network(
'qn1'
);
4
5
node{1} = Delay(qnet,
'Queue1'
);
6
node{2} = Queue(qnet,
'Queue2'
, SchedStrategy.PS);
7
8
jobclass
{1} = ClosedClass(qnet,
'Class1'
, N, node{1}, 0);
9
10
node{1}.setService(
jobclass
{1}, Exp(rate(1)));
11
node{2}.setService(
jobclass
{1}, Exp(rate(2)));
12
13
K = 1;
14
P
= cell(K,K);
15
P
{1} = circul(length(node));
16
17
qnet.link(
P
);
18
end
P
Definition
buildLayersRecursive.m:597
jobclass
Definition
example_global_patience.m:33
Generated by
1.9.8