Class PhaseTypePar

All Implemented Interfaces:
AutoCheck, Parameter

public class PhaseTypePar extends AbstractParameter implements Parameter
This is the parameter that should be passed to the Phase-Type distribution.

Copyright (c) 2017
Imperial College London - Department of Computing
Author:
Lulai Zhu
  • Constructor Summary

    Constructors
    Constructor
    Description
    PhaseTypePar(Object[] alpha, Object[] T)
    It creates a new phase-type parameter based on the data provided by the user.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    It returns the value of the parameter alpha, the initial probability vector of the phase-type distribution.
    double[]
    It returns the value of the parameter lambda, the completion rate vector of the phase-type distribution.
    double
    It returns the value of the mean of the phase-type distribution which is provided by the user or evaluated according to other data.
    double[][]
    It returns the value of the parameter P, the transition probability matrix of the phase-type distribution.
    double
    It returns the value of the variance of the phase-type distribution which is provided by the user or evaluated according to other data.

    Methods inherited from class AbstractParameter

    check, setMean

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface Parameter

    check, setMean
  • Constructor Details

  • Method Details

    • getMean

      public double getMean()
      It returns the value of the mean of the phase-type distribution which is provided by the user or evaluated according to other data.
      Returns:
      double with the mean of the phase-type distribution.
    • getVar

      public double getVar()
      It returns the value of the variance of the phase-type distribution which is provided by the user or evaluated according to other data.
      Returns:
      double with the variance of the phase-type distribution.
    • getAlpha

      public double[] getAlpha()
      It returns the value of the parameter alpha, the initial probability vector of the phase-type distribution.
      Returns:
      array of double with alpha the initial probability vector of the phase-type distribution.
    • getLambda

      public double[] getLambda()
      It returns the value of the parameter lambda, the completion rate vector of the phase-type distribution.
      Returns:
      array of double with lambda the completion rate vector of the phase-type distribution.
    • getP

      public double[][] getP()
      It returns the value of the parameter P, the transition probability matrix of the phase-type distribution.
      Returns:
      2D array of double with P the transition probability matrix of the phase-type distribution.