Package jline.api.mam
Class Map2_fitKt
-
- All Implemented Interfaces:
public final class Map2_fitKt
-
-
Method Summary
Modifier and Type Method Description final static Ret.mamMAPFitReturn
map2_fit(Double e1, Double e2, Double e3, Double g2)
Fits a 2-phase Markovian Arrival Process (MAP2) to match the given moments and decay rate of the autocorrelation function. final static Ret.mamMAPFitReturn
map2_fit(Double e1, Double e2, Double e3)
Fits a 2-phase Markovian Arrival Process (MAP2) using the first three moments. -
-
Method Detail
-
map2_fit
final static Ret.mamMAPFitReturn map2_fit(Double e1, Double e2, Double e3, Double g2)
Fits a 2-phase Markovian Arrival Process (MAP2) to match the given moments and decay rate of the autocorrelation function.
This method calculates the parameters for a 2-phase MAP based on the first three moments (e1, e2, e3) and the decay rate (g2) of the autocorrelation function.
- Parameters:
e1
- the first moment (mean)e2
- the second momente3
- the third momentg2
- the decay rate of the autocorrelation function- Returns:
a Map_fit_return_type object containing the fitted MAP transition matrices and additional fitting information
-
map2_fit
final static Ret.mamMAPFitReturn map2_fit(Double e1, Double e2, Double e3)
Fits a 2-phase Markovian Arrival Process (MAP2) using the first three moments.
This method provides a simplified fitting interface when
g2
is not available or specified. It uses a default or inferred value forg2
based on the provided moments.- Parameters:
e1
- the first moment (mean)e2
- the second momente3
- the third moment- Returns:
a mapFitReturn object containing the fitted MAP transition matrices and additional fitting information
-
-
-
-