Class PHFromTraceKt

    • 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
    • Constructor Detail

    • Method Detail

      • phFromTrace

        @JvmOverloads() final static PHFitResult phFromTrace(DoubleArray trace, IntArray orders, Integer maxIter, Double stopCond, PHRepresentation initialGuess, String resultFormat)

        Performs PH distribution fitting using the EM algorithm (G-FIT).

        Parameters:
        trace - The samples of the trace (inter-arrival or service times)
        orders - Array of Erlang branch orders
        maxIter - Maximum number of EM iterations (default 200)
        stopCond - Relative log-likelihood improvement stop condition (default 1e-7)
        initialGuess - Optional initial PH representation
        resultFormat - Unused, kept for API compatibility
        Returns:

        A PHFitResult containing alpha, A, and log-likelihood

      • phFromTrace

        @JvmOverloads() final static PHFitResult phFromTrace(DoubleArray trace, IntArray orders, Integer maxIter, Double stopCond, PHRepresentation initialGuess)

        Performs PH distribution fitting using the EM algorithm (G-FIT).

        Parameters:
        trace - The samples of the trace (inter-arrival or service times)
        orders - Array of Erlang branch orders
        maxIter - Maximum number of EM iterations (default 200)
        stopCond - Relative log-likelihood improvement stop condition (default 1e-7)
        initialGuess - Optional initial PH representation
        Returns:

        A PHFitResult containing alpha, A, and log-likelihood

      • phFromTrace

        @JvmOverloads() final static PHFitResult phFromTrace(DoubleArray trace, IntArray orders, Integer maxIter, Double stopCond)

        Performs PH distribution fitting using the EM algorithm (G-FIT).

        Parameters:
        trace - The samples of the trace (inter-arrival or service times)
        orders - Array of Erlang branch orders
        maxIter - Maximum number of EM iterations (default 200)
        stopCond - Relative log-likelihood improvement stop condition (default 1e-7)
        Returns:

        A PHFitResult containing alpha, A, and log-likelihood

      • phFromTrace

        @JvmOverloads() final static PHFitResult phFromTrace(DoubleArray trace, IntArray orders, Integer maxIter)

        Performs PH distribution fitting using the EM algorithm (G-FIT).

        Parameters:
        trace - The samples of the trace (inter-arrival or service times)
        orders - Array of Erlang branch orders
        maxIter - Maximum number of EM iterations (default 200)
        Returns:

        A PHFitResult containing alpha, A, and log-likelihood

      • phFromTrace

        @JvmOverloads() final static PHFitResult phFromTrace(DoubleArray trace, IntArray orders)

        Performs PH distribution fitting using the EM algorithm (G-FIT).

        Parameters:
        trace - The samples of the trace (inter-arrival or service times)
        orders - Array of Erlang branch orders
        Returns:

        A PHFitResult containing alpha, A, and log-likelihood

      • phFromTrace

        @JvmOverloads() final static PHFitResult phFromTrace(DoubleArray trace, Integer totalOrder, Integer maxIter, Double stopCond)

        Convenience overload: when totalOrder is a single integer, tries all possible branch-number / order combinations whose total number of states equals totalOrder, and returns the one with the highest log-likelihood.

      • phFromTrace

        @JvmOverloads() final static PHFitResult phFromTrace(DoubleArray trace, Integer totalOrder, Integer maxIter)

        Convenience overload: when totalOrder is a single integer, tries all possible branch-number / order combinations whose total number of states equals totalOrder, and returns the one with the highest log-likelihood.

      • phFromTrace

        @JvmOverloads() final static PHFitResult phFromTrace(DoubleArray trace, Integer totalOrder)

        Convenience overload: when totalOrder is a single integer, tries all possible branch-number / order combinations whose total number of states equals totalOrder, and returns the one with the highest log-likelihood.