1% [D0, D1] = MinimalRepFromRAP(H0, H1, how, precision)
3% Returns the minimal representation of a rational arrival
8% H0 : matrix, shape (M,M)
9% The H0 matrix of the rational arrival process
10% H1 : matrix, shape (M,M)
11% The H1 matrix of the rational arrival process
12% how : {
"obs",
"cont",
"obscont"}, optional
13% Determines how the representation
is minimized.
"cont"
14% means controllability,
"obs" means observability,
15%
"obscont" means that the rational arrival process
is
16% minimized in both respects. The
default value
is
18% precision : double, optional
19% Precision used by the Staircase algorithm. The
default
24% D0 : matrix, shape (M,M)
25% The D0 matrix of the minimal representation
26% D1 : matrix, shape (M,M)
27% The D1 matrix of the minimal representation
31% .. [1]
P. Buchholz, M. Telek,
"On minimal representation of
32% rational arrival processes." Madrid Conference on
33% Qeueuing theory (MCQT), June 2010.
35function [D0, D1] = MinimalRepFromRAP (H0, H1, how, precision)
37 if ~exist(
'precision',
'var')
41 if ~exist('how','var')
45 global BuToolsCheckInput;
46 if isempty(BuToolsCheckInput)
47 BuToolsCheckInput = true;
50 if BuToolsCheckInput && ~CheckRAPRepresentation (H0, H1)
51 error('MinimalRepFromRAP: Input isn''t a valid MRAP representation');
54 D = MinimalRepFromMRAP ({H0,H1}, how, precision);