Class Pfqn_replicasKt

    • 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

      • pfqn_unique

         final static PfqnUniqueResult pfqn_unique(Matrix L, Matrix mu, Matrix gamma)

        Consolidate replicated stations into unique stations with multiplicity.

        Identifies stations with identical demand rows L(i,:) and (if present) identical load-dependent rates mu(i,:) or class-dependent rates gamma(i,:). Returns reduced matrices with only unique stations plus a multiplicity vector.

        Parameters:
        L - Service demand matrix (M x R)
        mu - Load-dependent rate matrix (M x Ntot), optional - pass null if not used
        gamma - Class-dependent service rate matrix (M x R), optional - pass null if not used
        Returns:

        PfqnUniqueResult containing reduced matrices and mapping information

      • pfqn_expand

         final static Triple<Matrix, Matrix, Matrix> pfqn_expand(Matrix QN, Matrix UN, Matrix CN, IntArray mapping)

        Expand per-station metrics from reduced model to original dimensions.

        Expands performance metrics computed on a reduced model (with unique stations) back to the original model dimensions by replicating values according to mapping.

        Parameters:
        QN - Queue lengths from reduced model (M' x R)
        UN - Utilizations from reduced model (M' x R)
        CN - Cycle times from reduced model (M' x R)
        mapping - Mapping vector from pfqn_unique (length M), mappingi = unique station index
        Returns:

        Triple of (QN_full, UN_full, CN_full) in original dimensions (M x R)

      • pfqn_combine_mi

         final static Matrix pfqn_combine_mi(Matrix mi, IntArray mapping, Integer M_unique)

        Combine user-provided multiplicity vector with detected replica multiplicity.

        For each unique station j, sums the mi values of all original stations mapping to it.

        Parameters:
        mi - User-provided multiplicity vector (1 x M_original)
        mapping - Mapping vector from pfqn_unique (length M_original)
        M_unique - Number of unique stations
        Returns:

        Combined multiplicity vector (1 x M_unique)