Class Infer_minps_setup

java.lang.Object
jline.inference.api.Infer_minps_setup

public final class Infer_minps_setup extends Object
Port of MATLAB infer_minps_setup.m: prepares the trace data (queue lengths at arrival, response times, classes) over a sample window and runs the MINPS demand estimator on it.
  • Method Details

    • infer_minps_setup

      public static double[] infer_minps_setup(double[][][] data, int initSample, int sampleSize, int V, Network model, Queue node)
      Parameters:
      data - cell data in the standard format, data[row][class] with MATLAB row numbering: data[3][k] = arrival times (ms), data[4][k] = response times (s); the last class column is the aggregate and is kept as is
      initSample - first sample of the window (1-based, as in MATLAB)
      sampleSize - number of samples in the window, 0 for all
      V - number of servers (unused, kept for signature parity)
      model - LINE Network model
      node - PS queue node
      Returns:
      estimated demands (1 x R array)