Package jline.api.mdd

Class MddServiceLaw

java.lang.Object
jline.api.mdd.MddServiceLaw

public class MddServiceLaw extends Object
Phase-type service law of one station, as a Markovian (D0,D1) pair.

D0 holds the phase transitions that do not complete a service and D1 those that do, so the exit-rate vector is t0 = D1*1. For a renewal law D1 = t0*pie, and the entry law pie is then DERIVED from D1 rather than assumed: see Mdd_descriptor.entryLaw(double[], double[][], int, int, java.lang.String). Set pie only to override that.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double[][]
    Phase transitions without a completion.
    final double[][]
    Phase transitions with a completion, D1 = t0*pie for a renewal law.
    final double[]
    Optional entry law; null to derive it from D1.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MddServiceLaw(double[][] D0, double[][] D1)
     
    MddServiceLaw(double[][] D0, double[][] D1, double[] pie)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Number of phases.

    Methods inherited from class java.lang.Object

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

    • D0

      public final double[][] D0
      Phase transitions without a completion.
    • D1

      public final double[][] D1
      Phase transitions with a completion, D1 = t0*pie for a renewal law.
    • pie

      public final double[] pie
      Optional entry law; null to derive it from D1.
  • Constructor Details

    • MddServiceLaw

      public MddServiceLaw(double[][] D0, double[][] D1)
    • MddServiceLaw

      public MddServiceLaw(double[][] D0, double[][] D1, double[] pie)
  • Method Details

    • phases

      public int phases()
      Number of phases.