Package jline.api.sn
Class SnArrivalRateFun
java.lang.Object
jline.api.sn.SnArrivalRateFun
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classlambda(t), with whether it actually varies and the cycle length. -
Method Summary
Modifier and TypeMethodDescriptionstatic SnArrivalRateFun.RateFunsnArrivalRateFun(NetworkStruct sn, int ist, int r) Build lambda(t) for stationist, classr.
-
Method Details
-
snArrivalRateFun
Build lambda(t) for stationist, classr.- Parameters:
sn- the network structist- station indexr- class index- Returns:
- the rate function
-