Class PHFromTraceKt
-
- All Implemented Interfaces:
public final class PHFromTraceKt
-
-
Method Summary
Modifier and Type Method Description final static PHFitResultphFromTrace(DoubleArray trace, IntArray orders, Integer maxIter, Double stopCond, PHRepresentation initialGuess, String resultFormat)Performs PH distribution fitting using the EM algorithm (G-FIT). final static PHFitResultphFromTrace(DoubleArray trace, IntArray orders, Integer maxIter, Double stopCond, PHRepresentation initialGuess)Performs PH distribution fitting using the EM algorithm (G-FIT). final static PHFitResultphFromTrace(DoubleArray trace, IntArray orders, Integer maxIter, Double stopCond)Performs PH distribution fitting using the EM algorithm (G-FIT). final static PHFitResultphFromTrace(DoubleArray trace, IntArray orders, Integer maxIter)Performs PH distribution fitting using the EM algorithm (G-FIT). final static PHFitResultphFromTrace(DoubleArray trace, IntArray orders)Performs PH distribution fitting using the EM algorithm (G-FIT). final static PHFitResultphFromTrace(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. final static PHFitResultphFromTrace(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. final static PHFitResultphFromTrace(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. -
-
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 ordersmaxIter- Maximum number of EM iterations (default 200)stopCond- Relative log-likelihood improvement stop condition (default 1e-7)initialGuess- Optional initial PH representationresultFormat- 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 ordersmaxIter- 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 ordersmaxIter- 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 ordersmaxIter- 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.
-
-
-
-