Class SetupDelayOff
Queue.setDelayOff),
port of Python api/state/setup_delayoff.py.
Semantics (LDES): every server is ACTIVE, OFF, in SETUP or in DELAYOFF. An arrival takes an idle ACTIVE server; failing that, a server in DELAYOFF, whose timer is cancelled and which serves the job at once (chosen uniformly among the DELAYOFF servers); failing that, an OFF server starts its setup under the ARRIVING class's setup law and the job waits; failing that the job waits. A departure that leaves the buffer empty starts the freed server's delay-off under the DEPARTING class's delay-off law. A setup that completes makes its server ACTIVE, taking the head-of-line job or idling. A delay-off that expires turns its server OFF. All servers start ACTIVE.
The station's local state carries a block of server counts
[off, setup(r,k)..., delayoff(r,k)...] in the shared controller
column of sn.nvars (2R); ACTIVE is the remainder of the
server count. The block is declared per solve by
#prepare(NetworkStruct) on a private copy of the struct, so a station
is treated here only once its controller column holds the block width. The
synchronous-call (REPLY) counters of columns 2R+1..3R stay the tail
of the local variables, after the block: a held server is neither ACTIVE
idle nor in the block, a REPLY arrival wakes nobody, a REPLY departure
follows the CALLING class's delay-off law, and a calling departure keeps its
server and starts no delay-off. Only
FCFS is served, the laws must be Markovian, every served class needs both
laws, and the block is exclusive with breakdowns, true BAS blocking, server
pools, retrials and a MAP service: each refused by name
(LINE:unsupported:SetupDelayOff).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe block layout of a station.static final classOne phase-type law of the block: initial vector, subgenerator, exit vector and block offset. -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncLocal sync action of a setup/delay-off clock (passive LOCAL).static booleanhasLaws(NetworkStruct sn, int ind) True when nodeinddeclares setup and delay-off laws.static SetupDelayOff.Infoinfo(NetworkStruct sn, int ind) The prepared layout of nodeind, or null when it has none or the struct is not prepared.static Map<Integer,SetupDelayOff.Info> layouts(NetworkStruct sn) Validated layouts of the setup/delay-off stations ofsn, by node (Pythonctmc_setupwithout the struct edits, which the caller applies to its private copy).static doubleunavailable(NetworkStruct sn, int ind, Matrix spaceVar, int row) Servers OFF, in SETUP or in DELAYOFF in rowrowof the local variablesspaceVar; 0 at a station without a block.
-
Method Details
-
hasLaws
True when nodeinddeclares setup and delay-off laws. -
info
The prepared layout of nodeind, or null when it has none or the struct is not prepared. -
layouts
Validated layouts of the setup/delay-off stations ofsn, by node (Pythonctmc_setupwithout the struct edits, which the caller applies to its private copy). -
clockSync
Local sync action of a setup/delay-off clock (passive LOCAL).
-