Package jline.lang.lal
Class LalMamLowering
java.lang.Object
jline.lang.lal.LalMamLowering
Lowering of embedded LINE networks to the agents SolverMAM's LAL methods read
(Python
lal/mam_lowering.py).
SolverMAM's composition methods recognize a level agent whose states count
the jobs of a queue, and source agents whose states are the phases of a MAP
or MMAP. An embedded Network is lowered to exactly those agents when
its structure allows it:
- every station is a
Queuevisited by ONE open class, with exponential service oncservers, or phase-type service on one server (a separate service clock whose completions are the departures), FCFS, LCFS, SIRO or PS scheduling, and an infinite or finite capacity; - a finite capacity under LINE's
DROPrule loses the arriving job, a self-event of the full queue; under a blocking rule the arrival is blocked; - routing is
sn.rtnodesbetween Queue nodes and to a Sink, with no class switching; aSourcecontributes its Exp, MAP or marked-MAP arrival process, each class going to a single queue; - hand agents may inject arrivals of a queue's class; a hand observer of a node event is not lowered.
actionLabelMap(jline.lang.lal.Composition) presents
them under LINE's event keys (Q.DEP[Jobs], a service clock's phase
moves as Q.PHASE[Jobs], a Source's emissions as Src.DEP[cls]).
A network outside this structure is refused by name.-
Method Summary
Modifier and TypeMethodDescriptionactionLabelMap(Composition lowered) agent.action -> node-event labelof a lowered composition (Pythonaction_label_map).static Compositionlower(Composition composition) Return a composition of plain agents equivalent tocomposition, orcompositionitself when it embeds nothing.static LalTablerelabelActionTable(LalTable table, Map<String, String> mapping) Rename lowered action rows to their node-event labels, summing rows that share one (Pythonrelabel_action_table).
-
Method Details
-
lower
Return a composition of plain agents equivalent tocomposition, orcompositionitself when it embeds nothing. The result records its source (Composition.getLoweredSource()) and label map. -
actionLabelMap
agent.action -> node-event labelof a lowered composition (Pythonaction_label_map). -
relabelActionTable
Rename lowered action rows to their node-event labels, summing rows that share one (Pythonrelabel_action_table).
-