Class Solver_mam_censor
LdqbdCensor.
THE CHAIN. The generator and state space are those SolverCTMC builds
(Solver_ctmc, so open classes are truncated at options.cutoff exactly as
there), and the metrics are SolverCTMC's own extraction: only the stationary
solve is replaced, through the Solver_ctmc_analyzer.StationarySolver
argument of Solver_ctmc_analyzer.
THE LEVEL is the total job count at one station, the LEVEL STATION: options.config.censor_level (a station name, or a 1-based station index as in MATLAB) or, by default, each station in decreasing order of the range of its job count until one works. The PHASE of a state is its local state at the level station.
THE SETS are the classes of a partition keyed by the local states of a subset of the other stateful nodes. Every subset is a candidate, down to the empty key, a single set, which is plain linear level reduction and applies whenever every transition moves the level station by at most one job. Among the candidates that admit an order (below) the one with the least estimated work is solved. Inside a set the levels present are renumbered by rank.
THE ORDER. Censoring a set k adds, between the remaining states i and j, the paths i -> k -> ... -> k -> j, and this fill depends on WHICH sets have been censored, not on the order. A set must be block tridiagonal by level when censored (and the last one when solved), so an elimination that breaks any remaining set is never part of a valid order. The order is built greedily on the sparsity pattern: at each step a set is censored whose fill keeps every remaining set block tridiagonal, the one with the least fill.
A reducible chain is solved on its recurrent class when it has exactly one; with several the answer depends on the initial state and the method refuses.
Port of MATLAB solver_mam_censor.m: the candidate enumeration, the
pruning and the tie-breaking follow it step for step, so the same partition
and order are chosen. One deliberate difference: the per-station job counts
are read from the aggregated state space by STATION index (ist*K),
which is how Ctmc_ssg lays it out; the MATLAB file reads it by stateful
index, which agrees whenever no non-station stateful node precedes a station.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault of options.config.censor_states_max: the level blocks are dense. -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringapplicable(NetworkStruct sn, SolverOptions options) Screen for the censor method before its chain is built: the reason it is refused, or null.static intcensorStatesMax(SolverOptions options) options.config.censor_states_max, or the default 10000.static MAMResultsolver_mam_censor(NetworkStruct sn, SolverOptions callerOptions)
-
Field Details
-
CENSOR_STATES_MAX
public static final int CENSOR_STATES_MAXDefault of options.config.censor_states_max: the level blocks are dense.- See Also:
-
-
Method Details
-
censorStatesMax
options.config.censor_states_max, or the default 10000. -
applicable
Screen for the censor method before its chain is built: the reason it is refused, or null. Refuses when the worst-case CTMC state space (MemoryGuard.stateSpaceLogSize(jline.lang.NetworkStruct, jline.solvers.SolverOptions), the estimate SolverCTMC.isStateSpaceTractable uses, after snNonmarkovToPh and at the cutoff the analyzer installs) is above censor_states_max. The estimate is never below the generated chain, which censorSolve checks against the same cap. Mirrors MATLAB mam_censor_applicable. -
solver_mam_censor
-