Package jline.api.pfqn.ld
Class Pfqn_jdfun
java.lang.Object
jline.api.pfqn.ld.Pfqn_jdfun
-
Method Summary
Modifier and TypeMethodDescriptionstatic Matrixpfqn_jdfun(Matrix nvec, List<SerializableFunction<Matrix, Matrix>> jdscaling, int M) Evaluate joint-dependent (JD) scaling function for the first class.static Matrixpfqn_jdfun(Matrix nvec, List<SerializableFunction<Matrix, Matrix>> jdscaling, int M, int classIdx) Evaluate joint-dependent (JD) scaling function.
-
Method Details
-
pfqn_jdfun
public static Matrix pfqn_jdfun(Matrix nvec, List<SerializableFunction<Matrix, Matrix>> jdscaling, int M) Evaluate joint-dependent (JD) scaling function for the first class.- Parameters:
nvec- Per-class queue-length values. The values can be continuous.jdscaling- JD functions indexed by station index, or null if noneM- Number of stations- Returns:
- matrix of scaling factors
-
pfqn_jdfun
public static Matrix pfqn_jdfun(Matrix nvec, List<SerializableFunction<Matrix, Matrix>> jdscaling, int M, int classIdx) Evaluate joint-dependent (JD) scaling function.Returns, for every station i, the reciprocal of the joint-dependent scaling eta_i(n_i1, ..., n_iR) evaluated at the per-class population vector nvec(i,:), for class r = classIdx.
jdscaling.get(i) is a function of the joint per-class population vector at station i. It may return either a 1x1 matrix (a scaling shared by every class, as in the flagship min(ni[0],c)), or a length-R row vector of per-class scalings, of which element classIdx is taken (Sauer chain-dependent rate mu_{r,i}(n)). Unlike Pfqn_cdfun, eta may read the joint vector arbitrarily and is non-product-form.
A null entry denotes a station with no joint dependence and is skipped, leaving the neutral factor 1.
- Parameters:
nvec- Per-class queue-length values. The values can be continuous.jdscaling- JD functions indexed by station index, or null if noneM- Number of stationsclassIdx- Class index selecting eta_{i,r}- Returns:
- matrix of scaling factors
-