Class Mam_bgchain_env
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLumped environment of one station. -
Method Summary
Modifier and TypeMethodDescriptionstatic Mam_bgchain_env.Envmam_bgchain_env(Mam_bgchain_ctmc.Result bg, int i) static Mam_bgchain_env.Envmam_bgchain_envfull(Mam_bgchain_ctmc.Result bg, int i) The background chain itself, as the environment station i sees it, WITHOUT the lumping ofmam_bgchain_env(jline.solvers.mam.handlers.Mam_bgchain_ctmc.Result, int).
-
Method Details
-
mam_bgchain_env
- Parameters:
bg- the solved background chaini- index of the station within the chain's support- Returns:
- the lumped environment
-
mam_bgchain_envfull
The background chain itself, as the environment station i sees it, WITHOUT the lumping ofmam_bgchain_env(jline.solvers.mam.handlers.Mam_bgchain_ctmc.Result, int). This is the ORACLE behindoptions.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 whatconfig.qbdphases_maxbounds.Unreachable states are dropped and the diagonal is rebuilt. The returned
esupREPEATS: many chain states hold the same number of jobs at i.- Parameters:
bg- the solved background chaini- index of the station within the chain's support- Returns:
- the unlumped environment
-