Class CtmcMapc

java.lang.Object
jline.lang.state.CtmcMapc
All Implemented Interfaces:
Serializable

public final class CtmcMapc extends Object implements Serializable
Pair form of a multiserver MAP (or MMPP2) service in the CTMC state space, set by Solver_ctmc_mapc.apply; port of the MATLAB sn.ctmcmapc{ist,r} struct.

With V = (-D0)^-1 D1 a draw started in phase h ends in j with probability V(h,j). A busy server is a pair (i,j): current phase i and landing j, fixed when the draw starts. The class memory local variable (1-based) is the landing of the most recently started draw: a start from h enters pair (h,j) w.p. V(h,j) and sets h := j; phase moves and completions keep it.

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double[]
    Completion rate D1(i,j)/V(i,j) of each pair.
    final int
    Number of phases of the original MAP.
    final int[][]
    Pair t = (pairs[t][0], pairs[t][1]), 0-based phases, i-major.
    final Matrix
    Landing probabilities V = (-D0)^-1 D1 of the original MAP.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CtmcMapc(int p, int[][] pairs, Matrix V, double[] done)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static CtmcMapc
    get(NetworkStruct sn, int ist, int r)
    The pair form of class r at station ist, or null when the service is not in pair form.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • p

      public final int p
      Number of phases of the original MAP.
    • pairs

      public final int[][] pairs
      Pair t = (pairs[t][0], pairs[t][1]), 0-based phases, i-major.
    • V

      public final Matrix V
      Landing probabilities V = (-D0)^-1 D1 of the original MAP.
    • done

      public final double[] done
      Completion rate D1(i,j)/V(i,j) of each pair.
  • Constructor Details

    • CtmcMapc

      public CtmcMapc(int p, int[][] pairs, Matrix V, double[] done)
  • Method Details

    • get

      public static CtmcMapc get(NetworkStruct sn, int ist, int r)
      The pair form of class r at station ist, or null when the service is not in pair form.