LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
qsys_mapm1.m
1function result = qsys_mapm1(D0, D1, mu, varargin)
2% QSYS_MAPM1 Analyzes a MAP/M/1 queue using Q-MAM.
3%
4% RESULT = QSYS_MAPM1(D0, D1, MU) analyzes a MAP/M/1 queue with:
5% D0 - MAP hidden transition matrix (n x n)
6% D1 - MAP arrival transition matrix (n x n)
7% MU - Exponential service rate
8%
9% This is a convenience wrapper for QSYS_MAPMC with c=1.
10%
11% RESULT = QSYS_MAPM1(..., 'maxNumComp', N) sets max queue length probs (default 500)
12%
13% Returns a struct with fields:
14% meanQueueLength - Mean number of customers in system
15% meanWaitingTime - Mean waiting time in queue
16% meanSojournTime - Mean sojourn time (waiting + service)
17% utilization - Server utilization
18% queueLengthDist - Queue length distribution P(Q=n)
19% waitingTimePH - Struct with alpha and T for waiting time PH
20% analyzer - Name of analyzer used
21%
22% See also QSYS_MAPMC, qsys_mapph1
23
24result = qsys_mapmc(D0, D1, mu, 1, varargin{:});
25result.analyzer = 'Q-MAM:MAP/M/1';
26
27end