Package jline.lang.processes
Class MMAP
- All Implemented Interfaces:
Serializable,Copyable
A Marked Markovian Arrival Process (MMAP)
MMAP is a point process where arrivals are categorized into K different types (marks).
Uses the standard MMAP representation:
- D0: infinitesimal generator for transitions without arrivals
- D1: rate matrix for transitions generating type-1 arrivals
- D2: rate matrix for transitions generating type-2 arrivals
- ...
- Dk: rate matrix for transitions generating type-k arrivals
This class is an alias for MarkedMAP, providing a consistent naming convention
with other distribution classes in LINE.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MMAPFactory method to create a simple 2-type MMAP from two MAPsgetName()Returns the name of this distribution type.intGet the number of arrival types (marks) in this MMAPgetTypeMatrix(int type) Get the D_k matrix for arrival type ktoString()Methods inherited from class jline.lang.processes.MarkedMAP
getNumberOfTypes, normalize, sample, sample, toMAP, toMAPs, toTimeReversedMethods inherited from class jline.lang.processes.MarkovModulated
evalACFT, getACFDecayMethods inherited from class jline.lang.processes.Markovian
acf, embedded, embeddedProb, evalCDF, evalCDF, evalLST, evalMeanT, evalVarT, getACF, getACF, getEmbedded, getEmbeddedProb, getIDC, getIDI, getInitProb, getMean, getMoments, getMu, getNumberOfPhases, getPhi, getProcess, getRate, getSCV, getSkewness, getSubgenerator, getVar, getVariance, idc, idi, initProb, mean, moments, mu, numberOfPhases, numPhases, phi, process, rate, scv, setMean, setProcess, setRate, skewness, subgenerator, var, varianceMethods inherited from class jline.lang.processes.Distribution
evalProbInterval, getNumParams, getParam, getSupport, isContinuous, isDisabled, isDiscrete, isImmediate, isMarkovian, name, numParams, param, setNumParams, setParam, support
-
Constructor Details
-
MMAP
public MMAP()Default constructor creating an empty MMAP -
MMAP
Construct an MMAP from a MatrixCell. The cell is normalized to the M3A layout {D0, D1_agg, D11, ..., D1K} (see MarkedMAP(MatrixCell)); both the M3A layout and the per-type layout {D0, D11, ..., D1K} are accepted.- Parameters:
mmap- the process matrices
-
MMAP
Construct an MMAP from D0 and a variable number of per-type matrices. The aggregate D1 = sum(Dk) is inserted at index 1 so the stored process follows the M3A layout {D0, D1_agg, D11, ..., D1K}.- Parameters:
D0- the infinitesimal generator for transitions without arrivalsDk- per-type matrices; Dk[i-1] generates type-i arrivals
-
-
Method Details
-
getName
Returns the name of this distribution type.- Overrides:
getNamein classDistribution- Returns:
- "MMAP" to identify this as a Marked Markovian Arrival Process
-
getNumTypes
public int getNumTypes()Get the number of arrival types (marks) in this MMAP- Returns:
- the number of arrival types K (M3A layout: size-2)
-
getTypeMatrix
Get the D_k matrix for arrival type k- Parameters:
type- the arrival type (1, 2, 3, ...)- Returns:
- D_k matrix for the specified type (M3A cell 1+type), or null if out of range
-
fromMAPs
Factory method to create a simple 2-type MMAP from two MAPs- Parameters:
D0- the shared D0 matrix (transitions without arrivals)D1- rate matrix for type-1 arrivalsD2- rate matrix for type-2 arrivals- Returns:
- an MMAP with two arrival types
-
toString
-