Class Markovian

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
APH, Coxian, Erlang, Exp, HyperExp, MarkovModulated, PH

public class Markovian extends ContinuousDistribution implements Serializable
An abstract class for a Markovian distribution
See Also:
  • Field Details

    • process

      protected MatrixCell process
    • nPhases

      protected int nPhases
  • Constructor Details

    • Markovian

      public Markovian(String name, int numParam)
  • Method Details

    • D

      public Matrix D(int i)
    • sample

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

      public double[] sample(int n, Random random)
      Specified by:
      sample in class Distribution
    • getProcess

      public MatrixCell getProcess()
    • setProcess

      public void setProcess(MatrixCell D)
    • getNumberOfPhases

      public long getNumberOfPhases()
    • getMu

      public Matrix getMu()
    • getPhi

      public Matrix getPhi()
    • getMean

      public double getMean()
      Specified by:
      getMean in class Distribution
    • setMean

      public void setMean(double newMean)
    • getSCV

      public double getSCV()
      Specified by:
      getSCV in class Distribution
    • getVariance

      public double getVariance()
    • getSubgenerator

      public Matrix getSubgenerator()
    • getMoments

      public List<Double> getMoments()
    • getSkewness

      public double getSkewness()
      Specified by:
      getSkewness in class Distribution
    • getACF

      public Matrix getACF(Matrix lags)
    • getEmbedded

      public Matrix getEmbedded()
    • getEmbeddedProb

      public Matrix getEmbeddedProb()
    • getInitProb

      public Matrix getInitProb()
    • getIDI

      public double getIDI()
    • getIDC

      public double getIDC()
    • evalMeanT

      public double evalMeanT(double t)
    • evalVarT

      public double evalVarT(double t)
    • evalCDF

      public double evalCDF(double t)
      Specified by:
      evalCDF in class Distribution
    • evalCDF

      public double[] evalCDF(double[] tset)
    • evalLST

      public double evalLST(double s)
      Specified by:
      evalLST in class ContinuousDistribution
    • getRate

      public double getRate()
      Overrides:
      getRate in class Distribution
    • setRate

      public void setRate(double newRate)
    • getVar

      public double getVar()
      Overrides:
      getVar in class Distribution