1% [D0, D1] = DMAPFromDRAP(H0, H1, precision)
3% Obtains a Markovian representation of a discrete rational
4% arrival process of the same size,
if possible,
using the
5% procedure published in [1]_.
9% H0 : matrix, shape (M,M)
10% The H0 matrix of the discrete rational arrival process
11% H1 : matrix, shape (M,M)
12% The H1 matrix of the discrete rational arrival process
13% precision : double, optional
14% A representation
is considered to be a Markovian one
15%
if it
is closer to it than
this precision
19% D0 : matrix, shape (M,M)
20% The D0 matrix of the discrete Markovian arrival process
21% D1 : matrix, shape (M,M)
22% The D1 matrix of the discrete Markovian arrival process
26% .. [1] G Horvath, M Telek,
"A minimal representation of
27% Markov arrival processes and a moments matching
28% method," Performance Evaluation 64:(9-12) pp.
31function [D0, D1] = DMAPFromDRAP (H0, H1, prec)
33 if ~exist(
'prec',
'var')
37 global BuToolsCheckInput;
39 if isempty(BuToolsCheckInput)
40 BuToolsCheckInput = true;
43 if BuToolsCheckInput && ~CheckDRAPRepresentation(H0,H1)
44 error('DMAPFromDRAP: Input isn''t a valid DRAP representation!');
49 Y=DMMAPFromDMRAP(H, prec);