Class CdPeakScaling

java.lang.Object
jline.api.pfqn.ld.CdPeakScaling

public final class CdPeakScaling extends Object
Peak of a class-dependence handle over the population lattice. Ports MATLAB cd_peak_scaling.m. This is the single normalizer used to report utilization at stations with limited class dependence when options.config.cd_peak_norm is enabled, U = T*S/bmax, so that every solver follows the same convention as solver_ncld does for lldscaling (U/max(lldscaling)).
  • Field Details

    • CD_PEAK_NORM_WARNING

      public static final String CD_PEAK_NORM_WARNING
      Warning emitted when utilization at a class-dependent station is reported as the unscaled offered load (the default convention); the text matches the MATLAB solvers verbatim.
      See Also:
  • Method Details

    • cd_peak_scaling

      public static double cd_peak_scaling(SerializableFunction<Matrix,Matrix> beta, int[] NK, int K)
      Peak of the class-dependence function over the reachable population lattice 0 <= n[r] <= NK[r]. The function returns either a scalar (shared by every class) or a length-K vector, so the peak is taken over both the states and the classes: utilization is a per-station quantity, so the whole station shares one normalizer, as it does for max(lldscaling(ist,:)).
      Parameters:
      beta - class-dependence handle beta(n)
      NK - per-class (finite) population vector
      K - number of classes
      Returns:
      the lattice peak of the handle (0 if the handle never returns a finite positive value)