Class Map_sample.MapSampler
- Enclosing class:
Map_sample
Successive calls to next(Random) continue the MAP's underlying CTMC
from the phase reached at the previous event, reproducing the process
autocorrelation. This differs from repeatedly invoking
Map_sample.map_sample(Matrix, Matrix, long, Random) with n=1, which
re-initialises the phase from the stationary vector map_pie on every
call and therefore yields an i.i.d. (renewal) sequence with the correct
marginal but zero autocorrelation. Use this sampler when a MAP/MMPP2/RAP is
an arrival or service process whose burstiness must be preserved across
events (e.g. an M/MAP/1 queue); the renewal path is correct only for
phase-type renewal distributions whose D1 restarts from a fixed entry
vector.
The phase persists across idle periods (it is only advanced when
next(Random) is called), matching the MAP/MAP/1 convention in which
the service process is frozen while the server is idle.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MapSampler
-
-
Method Details
-
next
Draws one inter-event time, advancing (and retaining) the modulating phase.
-