LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
gallery_qn_random.m
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).
6if nargin < 1
7 seed = 23000;
8end
9rng(seed);
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);
16end
Definition Station.m:245