Class MMAP

  • All Implemented Interfaces:
    java.io.Serializable , jline.lang.Copyable

    
    public class MMAP
    extends MarkedMAP implements Serializable
                        

    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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MMAP() Default constructor creating an empty MMAP
      MMAP(MatrixCell mmap) Construct an MMAP from a MatrixCell containing {D0, D1, D2, ...
      MMAP(Matrix D0, Array<Matrix> Dk) Construct an MMAP from D0 and variable number of Dk matrices
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName() Returns the name of this distribution type.
      int getNumTypes() Get the number of arrival types (marks) in this MMAP
      Matrix getTypeMatrix(int type) Get the D_k matrix for arrival type k
      static MMAP fromMAPs(Matrix D0, Matrix D1, Matrix D2) Factory method to create a simple 2-type MMAP from two MAPs
      String toString()
      • Methods inherited from class jline.lang.processes.MarkedMAP

        normalize, sample, sample, toTimeReversed
      • Methods inherited from class jline.lang.processes.Marked

        D, D, getD1k
      • Methods inherited from class jline.lang.processes.MarkovModulated

        evalACFT, getACFDecay
      • Methods 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, numPhases, numberOfPhases, phi, process, rate, scv, setMean, setProcess, setRate, skewness, subgenerator, var, variance
      • Methods inherited from class jline.lang.processes.Distribution

        evalProbInterval, getNumParams, getParam, getSupport, isContinuous, isDisabled, isDiscrete, isImmediate, isMarkovian, name, numParams, param, setNumParams, setParam, support
      • Methods inherited from class jline.lang.Copyable

        copy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MMAP

        MMAP()
        Default constructor creating an empty MMAP
      • MMAP

        MMAP(MatrixCell mmap)
        Construct an MMAP from a MatrixCell containing {D0, D1, D2, ...
        Parameters:
        mmap - MatrixCell where: - mmap.get(0) = D0 (transitions without arrivals) - mmap.
      • MMAP

        MMAP(Matrix D0, Array<Matrix> Dk)
        Construct an MMAP from D0 and variable number of Dk matrices
        Parameters:
        D0 - the infinitesimal generator for transitions without arrivals
        Dk - variable number of matrices where Dk[i-1] represents transitions generating type-i arrivals
    • Method Detail

      • getName

         String getName()

        Returns the name of this distribution type.

        Returns:

        "MMAP" to identify this as a Marked Markovian Arrival Process

      • getNumTypes

         int getNumTypes()

        Get the number of arrival types (marks) in this MMAP

        Returns:

        the number of arrival types K

      • getTypeMatrix

         Matrix getTypeMatrix(int type)

        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

         static MMAP fromMAPs(Matrix D0, Matrix D1, Matrix D2)

        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 arrivals
        D2 - rate matrix for type-2 arrivals
        Returns:

        an MMAP with two arrival types