Package jline.api.sn

Class SnGetRefstatChain

java.lang.Object
jline.api.sn.SnGetRefstatChain

public final class SnGetRefstatChain extends Object
  • Method Details

    • snGetRefstatChain

      public static Matrix snGetRefstatChain(NetworkStruct sn)
      Returns the visit-normalization anchor station of each chain.

      Classes within a chain may each declare their own reference station: the station at which that class's throughput X(k) and cycle time C(k) are observed. Chain-level quantities, by contrast, need a single station to gauge the chain visit ratios against, because Vchain is defined only up to a scale factor. This function fixes that gauge, so that every consumer of Vchain, Lchain and Xchain agrees on where the chain is being measured.

      The anchor is the reference class's station when the chain declares a reference class (sn.refclass(c) >= 0), and otherwise the station of the chain's first class. Per-station metrics (Q, U, R, T) are invariant to this choice; the chain system throughput Xchain and cycle time Cchain are reported at it. Twin of MATLAB sn_get_refstat_chain.

      Parameters:
      sn - network structure
      Returns:
      (nchains x 1) matrix of 0-based anchor station indices, -1 for an empty chain
    • snGetRefstatChain

      public static Matrix snGetRefstatChain(NetworkStruct sn, Map<Integer,Matrix> inchain)
      Returns the visit-normalization anchor station of each chain, for the given chain membership.
      Parameters:
      sn - network structure
      inchain - 0-based class indices of each chain (row matrices); defaults to sn.inchain when null
      Returns:
      (nchains x 1) matrix of 0-based anchor station indices, -1 for an empty chain
      See Also: