Package jline.inference.api
Class Infer_compute_ql_at_arrivalKt
-
- All Implemented Interfaces:
public final class Infer_compute_ql_at_arrivalKt
-
-
Method Summary
Modifier and Type Method Description final static Matrixinfer_compute_ql_at_arrival(DoubleArray at, IntArray atJobid, DoubleArray rt, IntArray rtJobid, IntArray classVec, Integer R)Compute per-class queue lengths at arrival. -
-
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
-
-
-
-