Package jline.solvers.ctmc.handlers
Class Solver_ctmc_extras
java.lang.Object
jline.solvers.ctmc.handlers.Solver_ctmc_extras
Per-solve station blocks of the CTMC (Python
_ctmc_sync_space):
server setup and delay-off (SetupDelayOff), retrial with a finite
number of attempts (RetrialAttempts) and server parallelism
(ServerParallelism). The blocks are declared on a private shallow
copy of the struct, so the model's own struct is left untouched.
Setup/delay-off and parallel stations hold waiting jobs next to idle (or
unavailable) servers, rows the population lattice does not enumerate, so
their space is generated by reachability (needsReachable(jline.lang.NetworkStruct)). The
attempt-level block of a retrial station is enumerated as every composition
of each row's orbit size: on the lattice path it is appended after the
lattice is generated (expandAttempts(jline.lang.NetworkStruct, java.util.List<java.lang.Integer>, jline.util.matrix.Matrix, jline.util.matrix.Matrix)), on the reachable path it is
declared before the walk, which then reaches the levels through the
events.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classExpanded lattice: {stateSpace, stateSpaceAggr, stateSpaceHashed}. -
Method Summary
Modifier and TypeMethodDescriptionThe finite-attempt retrial stations ofsn(node indices).static Solver_ctmc_extras.ExpandedexpandAttempts(NetworkStruct sn, List<Integer> attempts, Matrix ssHashed, Matrix ssAggr) Append the attempt-level block to the lattice generated onsn(whose nvars and state do not carry it yet): every composition of each local row's orbit size, the global states expanded accordingly.static booleanTrue when some station needs the reachable state-space generator.static NetworkStructprepare(NetworkStruct sn, boolean attemptsNow) The struct with the setup blocks declared (controller column, all-ACTIVE initial block, SETUP/DELAYOFF clock actions) and, whenattemptsNow, the attempt blocks too;snitself when there is nothing to declare.
-
Method Details
-
needsReachable
True when some station needs the reachable state-space generator. -
attemptStations
The finite-attempt retrial stations ofsn(node indices). -
prepare
The struct with the setup blocks declared (controller column, all-ACTIVE initial block, SETUP/DELAYOFF clock actions) and, whenattemptsNow, the attempt blocks too;snitself when there is nothing to declare. -
expandAttempts
public static Solver_ctmc_extras.Expanded expandAttempts(NetworkStruct sn, List<Integer> attempts, Matrix ssHashed, Matrix ssAggr) Append the attempt-level block to the lattice generated onsn(whose nvars and state do not carry it yet): every composition of each local row's orbit size, the global states expanded accordingly. Updatessn(which must be a private copy) in place: space, spaceHash, nvars and the initial state.
-