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
normalize, sample, sample, 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, 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 containing {D0, D1, D2, ..., Dk}- Parameters:
mmap- MatrixCell where: - mmap.get(0) = D0 (transitions without arrivals) - mmap.get(k) = Dk (transitions generating type-k arrivals) for k >= 1
-
MMAP
Construct an MMAP from D0 and variable number of Dk matrices- Parameters:
D0- the infinitesimal generator for transitions without arrivalsDk- variable number of matrices where Dk[i-1] represents transitions generating 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
-
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, 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
-