Package jline.api.fes
Class Fes_map_moments
java.lang.Object
jline.api.fes.Fes_map_moments
Computes the first three moments, the lag-1 joint moment and the index of dispersion of
a MAP without forming (-T0)^-1.
Evaluates equations (4), (5) and (7) of Casale, Mi, Cherkasova and Smirni, IEEE Trans.
Soft. Eng. 37(5), 2011. The inverse (-T0)^-1 is dense even when T0 is sparse, so it is
never formed: the moments follow from the vector recursion v_{k+1} = v_k (-T0)^-1, each
step being a linear solve. Method "euler" replaces the solve by the quadrature of
v*int_0^inf exp(T0 t) dt integrated by the trapezoid rule with the Euler approximation
exp(T0 dt) ~ I + T0 dt. Method "ssolve" is the default because it is exact and faster.
Copyright (c) 2012-2026, Imperial College London
All rights reserved.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMaximum number of Euler integration steps.static final doubleFraction of the uniformization bound used as integration step.static final doubleRelative mass left when the Euler quadrature stops. -
Method Summary
Modifier and TypeMethodDescriptionstatic FesMapMomentsResultComputes the descriptors of an inter-departure MAP by sparse linear solves.static FesMapMomentsResultfes_map_moments(Matrix T0, Matrix T1, String method) Computes the descriptors of an inter-departure MAP.static FesMapMomentsResultfes_map_moments(Matrix T0, Matrix T1, String method, double stepSafety) Computes the descriptors of an inter-departure MAP.
-
Field Details
-
TOL
public static final double TOLRelative mass left when the Euler quadrature stops.- See Also:
-
STEP_SAFETY
public static final double STEP_SAFETYFraction of the uniformization bound used as integration step.- See Also:
-
ITER_MAX
public static final int ITER_MAXMaximum number of Euler integration steps.- See Also:
-
-
Method Details
-
fes_map_moments
Computes the descriptors of an inter-departure MAP by sparse linear solves.- Parameters:
MAP- the pair (T0,T1)- Returns:
- the four descriptors and the index of dispersion
-
fes_map_moments
Computes the descriptors of an inter-departure MAP.- Parameters:
T0- hidden transitions of the MAPT1- marked transitions of the MAPmethod- "ssolve" for the linear solve, "euler" for the quadrature- Returns:
- the four descriptors and the index of dispersion
-
fes_map_moments
public static FesMapMomentsResult fes_map_moments(Matrix T0, Matrix T1, String method, double stepSafety) Computes the descriptors of an inter-departure MAP.- Parameters:
T0- hidden transitions of the MAPT1- marked transitions of the MAPmethod- "ssolve" for the linear solve, "euler" for the quadraturestepSafety- fraction of the uniformization bound used as integration step- Returns:
- the four descriptors and the index of dispersion
-