Class Map_sample.BmapSampler
- Enclosing class:
Map_sample
Successive calls to next(Random) continue the BMAP's underlying
CTMC from the phase reached at the previous batch arrival, reproducing both
the inter-arrival and batch-size autocorrelation. This differs from
repeatedly invoking Map_sample.bmap_sample(MatrixCell, 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)
batch-arrival sequence with the correct marginals but zero autocorrelation.
Use this sampler when a BMAP is an arrival process whose burstiness must be
preserved across events.
The phase persists across idle periods (it is only advanced when
next(Random) is called), matching the MAP/MAP/1 convention in which
the arrival process is not frozen while downstream stations are busy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDraws one BMAP event (inter-arrival time and batch size), advancing (and retaining) the modulating phase.
-
Constructor Details
-
BmapSampler
-
-
Method Details
-
next
Draws one BMAP event (inter-arrival time and batch size), advancing (and retaining) the modulating phase.
-