Class MixedComposition

java.lang.Object
jline.examples.java.advanced.lal.MixedComposition

public class MixedComposition extends Object
Markovian LAL compositions that mix hand-declared agents with embedded LINE networks (the two routes of python/line_solver/lal). Each node of an embedded network is an agent whose actions are keyed by LINE's EventType:
  • a hand MAP source injects the arrivals of an open queue (Src2.arr -> Q.ARV[Jobs]);
  • a hand gate joins the departures of a closed queue and blocks them while it is shut;
  • a hand agent with an immediate branch, whose vanishing state the solver eliminates.
  • Constructor Details

    • MixedComposition

      public MixedComposition()
  • Method Details

    • injectedMapSource

      public static Composition injectedMapSource()
      An open M/M/1 whose arrivals come from a two-phase hand MAP source.
    • gatedClosedNetwork

      public static Composition gatedClosedNetwork()
      A closed think-and-serve network whose server departures pass a hand gate.
    • immediateBranch

      public static Composition immediateBranch()
      A worker that, after each job, chooses its next mode in zero time (weights 1:3).
    • main

      public static void main(String[] args)