1function model = gallery_qn_random(seed)
2% GALLERY_QN_RANDOM Randomly generated mixed queueing network (reproducible).
3% Uses NetworkGenerator with a deterministic (cyclic) topology and a fixed
4%
default seed so repeated calls yield
the same model.
5% Closed network: 3 queues, 1 delay, 2 closed classes (always stable).
10gen = NetworkGenerator(
'schedStrat',
'fcfs',
'routingStrat',
'Probabilities', ...
11 'distribution',
'exp',
'cclassJobLoad',
'medium', ...
12 'hasVaryingServiceRates',
false,
'hasMultiServerQueues',
false, ...
13 'hasRandomCSNodes',
false,
'hasMultiChainCS',
false, ...
14 'topologyFcn', @NetworkGenerator.cyclicGraph);
15model = gen.generate(3, 1, 0, 2);