Class Mam_bgchain_env

java.lang.Object
jline.solvers.mam.handlers.Mam_bgchain_env

public final class Mam_bgchain_env extends Object
Lumps the background modulating chain onto the number of closed jobs held by one station, giving the Markovian environment that the open classes at that station see.

Station i does not observe the whole closed population vector, only how many closed jobs compete with the open ones for its server. The lumped generator is the stationary-weighted aggregation of the chain's generator over the level sets {s : totocc(s,i) = e},

A(e,e') = sum_{s in e} pi(s) sum_{s' in e'} Q(s,s') / sum_{s in e} pi(s),

which is exact when the partition is lumpable in the Kemeny-Snell sense and is the standard exact-aggregation approximation otherwise. The diagonal is set from the off-diagonal row sums, so A is a proper generator whatever the lumping error is. Environment states of zero stationary probability are unreachable and are dropped, so the support need not be 0..N.

See Also:
  • Method Details

    • mam_bgchain_env

      public static Mam_bgchain_env.Env mam_bgchain_env(Mam_bgchain_ctmc.Result bg, int i)
      Parameters:
      bg - the solved background chain
      i - index of the station within the chain's support
      Returns:
      the lumped environment
    • mam_bgchain_envfull

      public static Mam_bgchain_env.Env mam_bgchain_envfull(Mam_bgchain_ctmc.Result bg, int i)
      The background chain itself, as the environment station i sees it, WITHOUT the lumping of mam_bgchain_env(jline.solvers.mam.handlers.Mam_bgchain_ctmc.Result, int). This is the ORACLE behind options.config.bgenv='full', a port of MATLAB mam_bgchain_envfull.

      It is not an improvement over the lumping: the background chain is product-form by construction, so the pi-weighted aggregation of mam_bgchain_env(jline.solvers.mam.handlers.Mam_bgchain_ctmc.Result, int) is Norton-exact and the two return the same numbers (measured to 6.7e-16 in the MATLAB oracle). It is kept as the check that the property still holds if the chain's rate law ever changes. The QBD's environment axis becomes the whole chain, so its phase count grows from the distinct occupancies at i to the states of the chain, which is what config.qbdphases_max bounds.

      Unreachable states are dropped and the diagonal is rebuilt. The returned esup REPEATS: many chain states hold the same number of jobs at i.

      Parameters:
      bg - the solved background chain
      i - index of the station within the chain's support
      Returns:
      the unlumped environment