Class SnGetRefstatChain
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixReturns the visit-normalization anchor station of each chain.static MatrixsnGetRefstatChain(NetworkStruct sn, Map<Integer, Matrix> inchain) Returns the visit-normalization anchor station of each chain, for the given chain membership.
-
Method Details
-
snGetRefstatChain
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 MATLABsn_get_refstat_chain.- Parameters:
sn- network structure- Returns:
- (nchains x 1) matrix of 0-based anchor station indices, -1 for an empty chain
-
snGetRefstatChain
Returns the visit-normalization anchor station of each chain, for the given chain membership.- Parameters:
sn- network structureinchain- 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:
-