Package jline.lang.lal
Class LalTables
java.lang.Object
jline.lang.lal.LalTables
Label lookups on LAL action tables, behind
getAvgAct and
getActAvg (Python lal/tables.py). An action is named in one
of four ways:
- a label string, exactly as it appears in
getActTable()(a trailing[*]sums an index family, e.g."Queue1.DEP[*]"); - an
ActionRefof a hand-declared agent (agent.action("x")); - a
NodeReffromComposition.action(java.lang.Object, jline.lang.constant.EventType), whose open class sums the family over classes; (node, EventType[, jobclass]), resolved throughComposition.action(java.lang.Object, jline.lang.constant.EventType).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA resolved action: an exact label, or a prefix summing a family. -
Method Summary
Modifier and TypeMethodDescriptionstatic doubleactValue(Composition composition, LalTable table, String mode, Object... args) Throughput of one action, or the sum over an open index family (Pythonact_value).actValues(Composition composition, LalTable table, List<?> actions) Throughputs of several actions (PythongetActAvg); each element is a single name or anObject[]tuple of the arguments ofgetAvgAct.static LalTables.ResolvedresolveLabels(Composition composition, String mode, Object... args) Resolve an action name (Pythonresolve_labels).
-
Method Details
-
resolveLabels
public static LalTables.Resolved resolveLabels(Composition composition, String mode, Object... args) Resolve an action name (Pythonresolve_labels). -
actValue
Throughput of one action, or the sum over an open index family (Pythonact_value). -
actValues
Throughputs of several actions (PythongetActAvg); each element is a single name or anObject[]tuple of the arguments ofgetAvgAct.
-