Class Exp

All Implemented Interfaces:
Serializable

public class Exp extends Markovian implements Serializable
An exponential distribution.
See Also:
  • Constructor Details

    • Exp

      public Exp(double lambda)
  • Method Details

    • fitMean

      public static Exp fitMean(double MEAN)
    • fitRate

      public static Exp fitRate(double RATE)
    • sample

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

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

      public long getNumberOfPhases()
      Overrides:
      getNumberOfPhases 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
    • updateRate

      public void updateRate(double rate)
    • getSCV

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

      public double getRate()
      Overrides:
      getRate 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
    • toString

      public String toString()
      Overrides:
      toString in class Object