Class Infer_compute_ql_at_arrivalKt

    • 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

      • infer_compute_ql_at_arrival

         final static Matrix infer_compute_ql_at_arrival(DoubleArray at, IntArray atJobid, DoubleArray rt, IntArray rtJobid, IntArray classVec, Integer R)

        Compute per-class queue lengths at arrival.

        Reconstructs the queue state seen by each arriving job using arrival and departure times. Arrival times and response times are matched by job ID, so they need not be in the same order or come from the same data source.

        At ties, departures are processed before arrivals.

        Parameters:
        at - arrival times (n x 1)
        atJobid - job IDs for arrival times (n x 1)
        rt - response times (m x 1, m >= n)
        rtJobid - job IDs for response times (m x 1)
        classVec - class of each arrival sample (n x 1, 0-based)
        R - number of classes
        Returns:

        n x R matrix of per-class queue lengths at each arrival, rows ordered consistently with the input at/atJobid