Class LalTables

java.lang.Object
jline.lang.lal.LalTables

public final class LalTables extends Object
Label lookups on LAL action tables, behind getAvgAct and getActAvg (Python lal/tables.py). An action is named in one of four ways:
  • Method Details

    • resolveLabels

      public static LalTables.Resolved resolveLabels(Composition composition, String mode, Object... args)
      Resolve an action name (Python resolve_labels).
      Parameters:
      mode - Petri-net mode for a (node, EventType) form, or null
      args - one label, ActionRef or NodeRef, or node, EventType[, jobclass]
    • actValue

      public static double actValue(Composition composition, LalTable table, String mode, Object... args)
      Throughput of one action, or the sum over an open index family (Python act_value).
    • actValues

      public static List<Double> actValues(Composition composition, LalTable table, List<?> actions)
      Throughputs of several actions (Python getActAvg); each element is a single name or an Object[] tuple of the arguments of getAvgAct.