Class MMAP

All Implemented Interfaces:
Serializable, 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.
See Also:
  • Constructor Details

    • MMAP

      public MMAP()
      Default constructor creating an empty MMAP
    • MMAP

      public MMAP(MatrixCell 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

      public MMAP(Matrix D0, 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 Details

    • getName

      public String getName()
      Returns the name of this distribution type.
      Overrides:
      getName in class Distribution
      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

      public 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

      public 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
    • toString

      public String toString()
      Overrides:
      toString in class Object