1function tf = mam_is_renewal_map(D0, D1)
2% MAM_IS_RENEWAL_MAP True
if the process (D0,D1)
is a renewal process.
4% A renewal process embedded as a MAP has D1 = t * alpha (rank one):
the phase
5% entered after an event does not depend on
the phase
the process was in at that
6% event, so successive interarrival times are independent. Equivalently,
the
7% process carries no autocorrelation and
is fully described by its interevent
10% The test
is on
the algebraic structure alone, so it holds equally for a MAP,
11% for a matrix-exponential (ME) and for a rational arrival process (RAP): an ME
12% renewal stream satisfies it, a correlated MAP or RAP does not. That
is what
13% makes it
the right guard in front of any closed
form that reads only
the
14% marginal (a PH pair (pie, D0), a mean and an SCV), because such a
form is
15% exact for a renewal input and silently discards
the correlation otherwise.
17% Copyright (c) 2012-2026, Imperial College London
22 tf =
true; % a one-phase process
is memoryless, hence renewal
25tExit = D1 * ones(ns, 1);
26alpha = map_pie({D0, D1});
27tf = norm(D1 - tExit * alpha,
'fro') < 1e-9 * max(1, norm(D1,
'fro'));