Package jline.api.sn

Class SnArrivalRateFun

java.lang.Object
jline.api.sn.SnArrivalRateFun

public final class SnArrivalRateFun extends Object
The arrival rate of a station-class pair AS A FUNCTION OF TIME.

The time-varying analyses (Mt/G/inf, the modified offered load, the Gt/Mt/st+GI fluid queue) consume lambda(t) itself, not a mean rate: their whole content is the LAG between when work arrives and when it is felt, and a time-averaged rate has no lag. LINE carries a time-varying arrival as an NHPP or a MAPt, whose sn.proc slot is a piecewise-constant schedule, so lambda(t) is read off the segment in force at t.

For any other process the rate is constant and the handle returns it, which is what lets a caller ask for the time-varying analysis of a stationary model and get the stationary answer rather than an error.

Java twin of matlab/src/api/sn/sn_arrival_rate_fun.m.

Since:
LINE 3.1.0
  • Method Details

    • snArrivalRateFun

      public static SnArrivalRateFun.RateFun snArrivalRateFun(NetworkStruct sn, int ist, int r)
      Build lambda(t) for station ist, class r.
      Parameters:
      sn - the network struct
      ist - station index
      r - class index
      Returns:
      the rate function