Class Erlang

All Implemented Interfaces:
Serializable

public class Erlang extends Markovian implements Serializable
An Erlang-n distribution with n phases.
See Also:
  • Constructor Details

    • Erlang

      public Erlang(double phaseRate, int n)
  • Method Details

    • fitMeanAndSCV

      public static Erlang fitMeanAndSCV(double mean, double SCV)
    • fitMeanAndStdDev

      public static Erlang fitMeanAndStdDev(double mean, double stdDev)
    • fitMeanAndOrder

      public static Erlang fitMeanAndOrder(double mean, long numPhases)
    • sample

      public double[] sample(int n)
      Overrides:
      sample in class Markovian
    • sample

      public double[] sample(int n, Random random)
      Overrides:
      sample in class Markovian
    • getMean

      public double getMean()
      Overrides:
      getMean in class Markovian
    • getVar

      public double getVar()
      Overrides:
      getVar in class Markovian
    • getSkewness

      public double getSkewness()
      Overrides:
      getSkewness in class Markovian
    • getSCV

      public double getSCV()
      Overrides:
      getSCV in class Markovian
    • getRate

      public double getRate()
      Overrides:
      getRate in class Markovian
    • evalCDF

      public double evalCDF(double t)
      Overrides:
      evalCDF in class Markovian
    • evalLST

      public double evalLST(double s)
      Overrides:
      evalLST in class Markovian