Class LalEmbed

java.lang.Object
jline.lang.lal.LalEmbed

public final class LalEmbed extends Object
Embedding of LINE model objects into a LAL composition (Python lal/embed.py).

A Network becomes an EmbeddedNetwork (one agent per node), an Environment an EmbeddedEnvironment, and a LayeredNetwork the embedded network of LINE's own LQN2QN translation. A MarkovProcess becomes one agent with a timed action per generator entry, a MarkovChain one discrete-time agent (the only part its composition may have), and a Workflow one renewal agent labelled by activity through its series-parallel tree.

  • Method Details

    • nameOf

      public static String nameOf(Object obj)
      Name of a LINE object, or the string itself (Python _name_of).
    • asEvent

      public static EventType asEvent(Object event)
      An EventType from a member or its name (Python _as_event).
    • embedPart

      public static Object embedPart(Object model, String prefix, Integer cutoff)
      Turn a LINE model object into a LAL part: an Agent or an EmbeddedPart.
      Parameters:
      prefix - part name, or null
      cutoff - open-class cutoff, or null