Class RandomPHKt

  • All Implemented Interfaces:

    
    public final class RandomPHKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static PHRepresentation randomPH(Integer order, Double mean, Integer zeroEntries, Integer maxTrials, Double prec, Random random) Returns a random phase-type distribution with a given order.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • randomPH

         final static PHRepresentation randomPH(Integer order, Double mean, Integer zeroEntries, Integer maxTrials, Double prec, Random random)

        Returns a random phase-type distribution with a given order.

        Parameters:
        order - The size of the phase-type distribution.
        mean - The mean of the phase-type distribution (default 1.0).
        zeroEntries - The number of zero entries in the initial vector, generator matrix and closing vector (default 0).
        maxTrials - The maximum number of trials to find a proper PH (that has an irreducible phase process and none of its parameters is all-zero).
        prec - Numerical precision for checking the irreducibility.
        random - Random number generator (optional).
        Returns:

        The PHRepresentation containing alpha and A.