Package jline.api.sn

Class SnPatienceHandles

java.lang.Object
jline.api.sn.SnPatienceHandles

public final class SnPatienceHandles extends Object
Patience (time-to-abandon) handles derived from a NetworkStruct.

The abandonment solvers need the patience law as FUNCTIONS -- a complementary cdf and a hazard rate -- not as moments, because that is what the underlying theory consumes: Whitt's engineering solution reads the hazard near the origin, and the fluid models integrate the ccdf. LINE stores the law as a MAP/PH pair in sn.impatienceProc, from which both are available in closed form.

Java twin of matlab/src/api/sn/sn_patience_handles.m and python/line_solver/api/sn/patience.py.

Since:
LINE 3.1.0
  • Method Details

    • snPatienceHandles

      public static SnPatienceHandles.Handles snPatienceHandles(NetworkStruct sn, int ist, int r)
      Build the patience handles of station ist, class r.
      Parameters:
      sn - the network struct
      ist - station index
      r - class index
      Returns:
      the handles, or null when the station-class pair has no reneging patience configured